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