fix broadcast address (#1611)
[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 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Build/Install
22 mkdir -p $(STAGING_DIR)/etc
23 echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf
24 echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf
25 mkdir -p $(STAGING_DIR)/usr/bin
26 install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin/
27 install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin/
28 install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin/
29 install -m0755 $(PKG_BUILD_DIR)/ipkg.py $(STAGING_DIR)/usr/bin/
30 endef
31
32 define Build/Clean
33 rm -f $(STAGING_DIR)/etc/ipkg.conf
34 rm -f $(STAGING_DIR)/usr/bin/ipkg*
35 endef
36
37 $(eval $(call HostBuild))
This page took 0.039159 seconds and 5 git commands to generate.