Changeset 21452 for packages


Ignore:
Timestamp:
2010-05-15T13:43:33+02:00 (6 years ago)
Author:
swalker
Message:

[packages] tar: update to 1.23, use PKG_INSTALL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/tar/Makefile

    r17216 r21452  
    11# 
    2 # Copyright (C) 2008-2009 OpenWrt.org 
     2# Copyright (C) 2008-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=tar 
    11 PKG_VERSION:=1.22 
     11PKG_VERSION:=1.23 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=@GNU/$(PKG_NAME) 
    16 PKG_MD5SUM:=07fa517027f426bb80f5f5ff91b63585 
     16PKG_MD5SUM:=41e2ca4b924ec7860e51b43ad06cdb7e 
     17 
     18PKG_INSTALL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    4749endef 
    4850 
    49 define Build/Compile 
    50         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    51                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    52                 CFLAGS="$(TARGET_CFLAGS)" \ 
    53                 LDFLAGS="$(TARGET_LDLAGS)" 
    54 endef 
     51MAKE_FLAGS += \ 
     52        CFLAGS="$(TARGET_CFLAGS)" \ 
     53        LDFLAGS="$(TARGET_LDLAGS)" 
    5554 
    5655define Package/tar/install 
    5756        $(INSTALL_DIR) $(1)/usr/bin/ 
    58         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ 
     57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ 
    5958endef 
    6059 
Note: See TracChangeset for help on using the changeset viewer.