Root/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#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=ipkg-utils
10PKG_VERSION:=1.7
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=http://handhelds.org/packages/ipkg-utils/
14PKG_MD5SUM:=da3e3ef772973d7370a6ac95f0fef9b8
15
16include $(INCLUDE_DIR)/host-build.mk
17
18define Host/Install
19    $(INSTALL_BIN) \
20        $(HOST_BUILD_DIR)/ipkg-build \
21        $(HOST_BUILD_DIR)/ipkg-buildpackage \
22        $(HOST_BUILD_DIR)/ipkg-make-index \
23        $(HOST_BUILD_DIR)/ipkg.py \
24        $(STAGING_DIR_HOST)/bin/
25endef
26
27define Host/Clean
28    rm -f $(STAGING_DIR)/etc/ipkg.conf
29    rm -f $(STAGING_DIR_HOST)/bin/ipkg*
30endef
31
32$(eval $(call HostBuild))
33

Archive Download this file



interactive