Permalink
Browse files

infozip: new package

This commit adds a package for infozip, compression and file
packaging/archive utility.

[Peter: fix trailing spaces in help, long line]
Signed-off-by: Jan Pedersen <jp@jp-embedded.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information...
jp-embedded authored and jacmet committed Jan 14, 2013
1 parent d17d170 commit e4d89e7f2de5f2586223466a48d8eefba3b0f216
Showing with 32 additions and 0 deletions.
  1. +1 −0 package/Config.in
  2. +10 −0 package/infozip/Config.in
  3. +21 −0 package/infozip/infozip.mk
View
@@ -11,6 +11,7 @@ source "package/bzip2/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/gzip/Config.in"
endif
+source "package/infozip/Config.in"
source "package/lzop/Config.in"
source "package/lzma/Config.in"
source "package/xz/Config.in"
View
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_INFOZIP
+ bool "infozip"
+ help
+ Zip is a compression and file packaging/archive utility.
+ Although highly compatible both with PKWARE's PKZIP and
+ PKUNZIP utilities for MS-DOS and with Info-ZIP's own UnZip,
+ our primary objectives have been portability and
+ other-than-MSDOS functionality.
+
+ http://infozip.sourceforge.net/Zip.html
View
@@ -0,0 +1,21 @@
+#############################################################
+#
+# infozip
+#
+#############################################################
+INFOZIP_VERSION = 30
+INFOZIP_SOURCE = zip$(INFOZIP_VERSION).tgz
+INFOZIP_SITE = ftp://ftp.info-zip.org/pub/infozip/src
+INFOZIP_LICENSE = Info-ZIP
+INFOZIP_LICENSE_FILES = LICENSE
+
+define INFOZIP_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile generic
+endef
+
+define INFOZIP_INSTALL_TARGET_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f unix/Makefile install \
+ prefix=$(TARGET_DIR)/usr
+endef
+
+$(eval $(generic-package))

0 comments on commit e4d89e7

Please sign in to comment.