3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=b52f68c47f709e9fc9429250eb8f954c
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
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,ELHTTP
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.configured
:
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)" \
30 $(RSTRIP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/
34 mkdir
-p
$(IDIR_ELHTTP
)
35 $(CP
) $(PKG_INSTALL_DIR
)/* $(IDIR_ELHTTP
)/
36 $(RSTRIP
) $(IDIR_ELHTTP
)/
37 $(IPKG_BUILD
) $(IDIR_ELHTTP
) $(PACKAGE_DIR
)