2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=http
://handhelds.org
/packages
/ipkg-utils
/
14 PKG_MD5SUM
:=da3e3ef772973d7370a6ac95f0fef9b8
17 include $(INCLUDE_DIR
)/host-build.mk
20 mkdir
-p
$(STAGING_DIR
)/etc
21 echo
"dest root /" > $(STAGING_DIR
)/etc
/ipkg.conf
22 echo
"option offline_root $(TARGET_DIR)" >> $(STAGING_DIR
)/etc
/ipkg.conf
24 $(PKG_BUILD_DIR
)/ipkg-build \
25 $(PKG_BUILD_DIR
)/ipkg-buildpackage \
26 $(PKG_BUILD_DIR
)/ipkg-make-index \
27 $(PKG_BUILD_DIR
)/ipkg.py \
28 $(STAGING_DIR_HOST
)/bin
/
32 rm -f
$(STAGING_DIR
)/etc
/ipkg.conf
33 rm -f
$(STAGING_DIR_HOST
)/bin
/ipkg
*
36 $(eval
$(call HostBuild
))