@ -10,27 +10,25 @@ include $(TOPDIR)/rules.mk
PKG_NAME := zip
PKG_REV := 30
PKG_VERSION := 3.0
PKG_RELEASE := 4
PKG_RELEASE := 5
PKG_SOURCE := $( PKG_NAME) $( PKG_REV) .tar.gz
PKG_SOURCE_URL := @SF/infozip
PKG_HASH := f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
PKG_MAINTAINER := Álvaro Fernández Rojas <noltari@gmail.com>
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION) /zip$( PKG_REV)
PKG_MAINTAINER := Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE := BSD-4-Clause
PKG_LICENSE_FILES := LICENSE
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION) /zip$( PKG_REV)
HOST_BUILD_DIR := $( BUILD_DIR_HOST) /$( PKG_NAME) -$( PKG_VERSION) /zip$( PKG_REV)
PKG_CHECK_FORMAT_SECURITY := 0
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / z i p
SECTION:= utils
CATEGORY:= Utilities
DEPENDS:=
TITLE:= Archiver for .zip files
URL:= http://infozip.sourceforge.net/Zip.html
SUBMENU:= Compression
@ -43,31 +41,16 @@ define Package/zip/description
but the methods differ.
e n d e f
d e f i n e B u i l d / C o n f i g u r e
e n d e f
d e f i n e B u i l d / C o m p i l e
$( MAKE) -C $( PKG_BUILD_DIR) -f unix/Makefile generic \
prefix = " $( PKG_INSTALL_DIR) /usr " \
CFLAGS = " $( TARGET_CFLAGS) " \
CC = " $( TARGET_CC) $( TARGET_CFLAGS) -O $( TARGET_CPPFLAGS) -I. -DUNIX $( TARGET_LDFLAGS) " \
IZ_BZIP2 = "no" \
install
e n d e f
MAKE_FLAGS += \
-f unix/Makefile \
prefix = " $( PKG_INSTALL_DIR) /usr " \
CFLAGS = " $( TARGET_CFLAGS) $( TARGET_CPPFLAGS) -I. -DUNIX " \
LDFLAGS2 = " $( TARGET_LDFLAGS) " \
IZ_BZIP2 = "no"
d e f i n e P a c k a g e / z i p / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/* $( 1) /usr/bin/
e n d e f
d e f i n e H o s t / C o m p i l e
+$( HOST_MAKE_VARS) $( MAKE) $( HOST_JOBS) -C $( HOST_BUILD_DIR) -I. -f unix/Makefile generic
e n d e f
d e f i n e H o s t / I n s t a l l
$( INSTALL_DIR) $( STAGING_DIR_HOSTPKG) /bin/
$( INSTALL_BIN) $( HOST_BUILD_DIR) /zip $( STAGING_DIR_HOSTPKG) /bin/
e n d e f
$( eval $ ( call HostBuild ) )
$( eval $ ( call BuildPackage ,zip ) )