summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Pedersen <jp@jp-embedded.com>2013-01-14 03:30:00 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-14 15:51:44 (GMT)
commite4d89e7f2de5f2586223466a48d8eefba3b0f216 (patch)
tree2077dea1e64fde68fa153afb38622ee386e072db
parentd17d1708560ded94587f77e5015d1f966eecae18 (diff)
downloadbuildroot-e4d89e7f2de5f2586223466a48d8eefba3b0f216.tar.gz
buildroot-e4d89e7f2de5f2586223466a48d8eefba3b0f216.tar.bz2
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/infozip/Config.in10
-rw-r--r--package/infozip/infozip.mk21
3 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index e19e8b9..7c49235 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/infozip/Config.in b/package/infozip/Config.in
new file mode 100644
index 0000000..cfd7533
--- /dev/null
+++ b/package/infozip/Config.in
@@ -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
diff --git a/package/infozip/infozip.mk b/package/infozip/infozip.mk
new file mode 100644
index 0000000..84c4c80
--- /dev/null
+++ b/package/infozip/infozip.mk
@@ -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))