Don't embed dropbear by default (startup script is broken)
[openwrt.git] / openwrt / package / haserl / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME := haserl
4 PKG_VERSION := 0.7.3
5 PKG_RELEASE := 3
6
7 PKG_SOURCE_SITE := http://dl.sourceforge.net/sourceforge/haserl/
8 PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
9 PKG_SOURCE_CAT := zcat
10 PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
11 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
12 PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
13
14
15 $(DL_DIR)/$(PKG_SOURCE_FILE):
16 mkdir -p $(DL_DIR)
17 $(WGET) -P $(DL_DIR) $(PKG_SOURCE_SITE)/$(PKG_SOURCE_FILE)
18
19 $(PKG_BUILD_DIR)/ipkg/rules: $(DL_DIR)/$(PKG_SOURCE_FILE)
20 mkdir -p $(TOOL_BUILD_DIR)
21 $(PKG_SOURCE_CAT) $(DL_DIR)/$(PKG_SOURCE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
22 $(PATCH) $(PKG_BUILD_DIR) . $(PKG_NAME)-\*.diff
23 chmod a+x $(PKG_BUILD_DIR)/ipkg/rules
24
25 $(PKG_IPK): $(PKG_BUILD_DIR)/ipkg/rules
26 cd $(PKG_BUILD_DIR); \
27 ipkg/rules \
28 TOPDIR="$(TOPDIR)" \
29 IPKG_RULES_INC="$(TOPDIR)/rules.mk" \
30 package
31
32 $(IPKG_STATE_DIR)/info/$(PKG_NAME).list: $(PKG_IPK)
33 $(IPKG) install $(PKG_IPK)
34
35 source: $(DL_DIR)/$(PKG_SOURCE_FILE)
36 prepare: $(PKG_BUILD_DIR)/ipkg/rules
37 compile: $(PKG_IPK)
38 install: $(IPKG_STATE_DIR)/info/$(PKG_NAME).list
39
40 clean:
41 rm -rf $(PKG_BUILD_DIR)
42 rm -f $(PKG_IPK)
43
This page took 0.039026 seconds and 5 git commands to generate.