start-stop-daemon n, better description for openntpd. add maintainer
[openwrt.git] / package / haserl / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := haserl
6 PKG_VERSION := 0.7.3
7 PKG_RELEASE := 3
8 PKG_MD5SUM := a45d9c5b07e053ad105124e1fc12d9c4
9
10 PKG_SOURCE_SITE := @SF/haserl
11 PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_SOURCE_CAT := zcat
13 PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
14 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
15 PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
16
17
18 $(DL_DIR)/$(PKG_SOURCE_FILE):
19 mkdir -p $(DL_DIR)
20 $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
21
22 $(PKG_BUILD_DIR)/ipkg/rules: $(DL_DIR)/$(PKG_SOURCE_FILE)
23 mkdir -p $(TOOL_BUILD_DIR)
24 $(PKG_SOURCE_CAT) $(DL_DIR)/$(PKG_SOURCE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
25 $(PATCH) $(PKG_BUILD_DIR) . $(PKG_NAME)-\*.diff
26 chmod a+x $(PKG_BUILD_DIR)/ipkg/rules
27
28 $(PKG_IPK): $(PKG_BUILD_DIR)/ipkg/rules
29 cd $(PKG_BUILD_DIR); \
30 ipkg/rules \
31 TOPDIR="$(TOPDIR)" \
32 IPKG_RULES_INC="$(TOPDIR)/rules.mk" \
33 package
34
35 $(IPKG_STATE_DIR)/info/$(PKG_NAME).list: $(PKG_IPK)
36 $(IPKG) install $(PKG_IPK)
37
38 source: $(DL_DIR)/$(PKG_SOURCE_FILE)
39 prepare: $(PKG_BUILD_DIR)/ipkg/rules
40 compile: $(PKG_IPK)
41 install: $(IPKG_STATE_DIR)/info/$(PKG_NAME).list
42
43 clean:
44 rm -rf $(PKG_BUILD_DIR)
45 rm -f $(PKG_IPK)
46
This page took 0.057436 seconds and 5 git commands to generate.