remove one slash in PKG_SOURCE_URL
[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://phadej.daug.net/files/ \
11 http://www.cr0.net:8040/code/network/
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,ELHTTP,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 mkdir -p $(PKG_INSTALL_DIR)/usr/sbin
27 $(MAKE) CC=$(TARGET_CC) CROSS=$(TARGET_CROSS) -C $(PKG_BUILD_DIR) \
28 DESTDIR="$(PKG_INSTALL_DIR)" \
29 all install
30 $(RSTRIP) $(PKG_INSTALL_DIR)/usr/sbin/
31 touch $@
32
33 $(IPKG_ELHTTP):
34 mkdir -p $(IDIR_ELHTTP)
35 $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_ELHTTP)/
36 $(RSTRIP) $(IDIR_ELHTTP)/
37 $(IPKG_BUILD) $(IDIR_ELHTTP) $(PACKAGE_DIR)
38
This page took 0.040794 seconds and 5 git commands to generate.