make the compile: host-install dependency independent of the order in which the makef...
[openwrt.git] / tools / ipkg-utils / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ipkg-utils
10 PKG_VERSION:=1.7
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://handhelds.org/packages/ipkg-utils/
14 PKG_MD5SUM:=da3e3ef772973d7370a6ac95f0fef9b8
15 PKG_CAT:=zcat
16
17 include $(INCLUDE_DIR)/host-build.mk
18
19 define Host/Install
20 $(INSTALL_BIN) \
21 $(HOST_BUILD_DIR)/ipkg-build \
22 $(HOST_BUILD_DIR)/ipkg-buildpackage \
23 $(HOST_BUILD_DIR)/ipkg-make-index \
24 $(HOST_BUILD_DIR)/ipkg.py \
25 $(STAGING_DIR_HOST)/bin/
26 endef
27
28 define Host/Clean
29 rm -f $(STAGING_DIR)/etc/ipkg.conf
30 rm -f $(STAGING_DIR_HOST)/bin/ipkg*
31 endef
32
33 $(eval $(call HostBuild))
This page took 0.046854 seconds and 5 git commands to generate.