Makefile 744 B

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