add Id tag
[openwrt.git] / package / elhttp / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=elhttp
6 PKG_VERSION:=0.22
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=b52f68c47f709e9fc9429250eb8f954c
9
10 PKG_SOURCE_URL:=http://www.cr0.net:8040/code/network/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
12 PKG_CAT:=gzcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,ELHTTP,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 mkdir -p $(PKG_INSTALL_DIR)/usr/sbin
26 $(MAKE) CC=$(TARGET_CC) CROSS=$(TARGET_CROSS) -C $(PKG_BUILD_DIR) \
27 DESTDIR="$(PKG_INSTALL_DIR)" \
28 all install
29 $(RSTRIP) $(PKG_INSTALL_DIR)/usr/sbin/
30 touch $@
31
32 $(IPKG_ELHTTP):
33 mkdir -p $(IDIR_ELHTTP)
34 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_ELHTTP)/
35 $(RSTRIP) $(IDIR_ELHTTP)/
36 $(IPKG_BUILD) $(IDIR_ELHTTP) $(PACKAGE_DIR)
37
This page took 0.041215 seconds and 5 git commands to generate.