From: Stephen Walker Date: Sat, 15 May 2010 11:43:33 +0000 (+0000) Subject: tar: update to 1.23, use PKG_INSTALL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7fc1f1be0cc7217c735c80b7af97f41fa2a4fd59;p=openwrt%2Fsvn-archive%2Fpackages.git tar: update to 1.23, use PKG_INSTALL SVN-Revision: 21452 --- diff --git a/utils/tar/Makefile b/utils/tar/Makefile index 2dd4a5c35..cae11d985 100644 --- a/utils/tar/Makefile +++ b/utils/tar/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2009 OpenWrt.org +# Copyright (C) 2008-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tar -PKG_VERSION:=1.22 +PKG_VERSION:=1.23 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@GNU/$(PKG_NAME) -PKG_MD5SUM:=07fa517027f426bb80f5f5ff91b63585 +PKG_MD5SUM:=41e2ca4b924ec7860e51b43ad06cdb7e + +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -46,16 +48,13 @@ $${IPKG_INSTROOT}/bin/tar 2>&1 | grep 'applet not found' > /dev/null 2>&1 && rm exit 0 endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDLAGS)" -endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDLAGS)" define Package/tar/install $(INSTALL_DIR) $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,tar))