2 # Copyright (C) 2007-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_REV
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/infozip
17 PKG_MD5SUM
:=7b74551e63f8ee6aab6fbc86676c0d37
18 PKG_MAINTAINER
:=Álvaro Fernández Rojas
<noltari@gmail.com
>
20 PKG_LICENSE
:=BSD-4-Clause
21 PKG_LICENSE_FILES
:=LICENSE
23 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)/zip
$(PKG_REV
)
24 PKG_CHECK_FORMAT_SECURITY
:=0
26 include $(INCLUDE_DIR
)/package.mk
32 TITLE
:=Archiver for .zip files
33 URL
:=http
://infozip.sourceforge.net
/Zip.html
37 define Package
/zip
/description
38 This is InfoZIP
's zip program. It produces files that are fully
39 compatible with the popular PKZIP program; however, the command line
40 options are not identical. In other words, the end result is the same,
41 but the methods differ.
44 define Build/Configure
48 $(MAKE) -C $(PKG_BUILD_DIR) -f unix/Makefile generic \
49 prefix="$(PKG_INSTALL_DIR)/usr" \
50 CFLAGS="$(TARGET_CFLAGS)" \
51 CC="$(TARGET_CC) $(TARGET_CFLAGS) -O $(TARGET_CPPFLAGS) -I. -DUNIX $(TARGET_LDFLAGS)" \
56 define Package/zip/install
57 $(INSTALL_DIR) $(1)/usr/bin/
58 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
61 $(eval $(call BuildPackage,zip))