From: Jan Pedersen <jp@jp-embedded.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] added infozip package
Date: Tue, 8 Jan 2013 14:38:28 +0100 [thread overview]
Message-ID: <1357652308-20027-1-git-send-email-jp@jp-embedded.com> (raw)
Signed-off-by: Jan Pedersen <jp@jp-embedded.com>
---
package/Config.in | 1 +
package/infozip/Config.in | 10 ++++++++++
package/infozip/infozip.mk | 43 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 54 insertions(+)
create mode 100644 package/infozip/Config.in
create mode 100644 package/infozip/infozip.mk
diff --git a/package/Config.in b/package/Config.in
index 49db380..9cf29f4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -14,6 +14,7 @@ endif
source "package/lzop/Config.in"
source "package/lzma/Config.in"
source "package/xz/Config.in"
+source "package/infozip/Config.in"
endmenu
menu "Debugging, profiling and benchmark"
diff --git a/package/infozip/Config.in b/package/infozip/Config.in
new file mode 100644
index 0000000..1a4b756
--- /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..996a709
--- /dev/null
+++ b/package/infozip/infozip.mk
@@ -0,0 +1,43 @@
+#############################################################
+#
+# infozip
+#
+#############################################################
+INFOZIP_VERSION:=30
+INFOZIP_SOURCE:=zip$(INFOZIP_VERSION).tgz
+INFOZIP_SITE:=ftp://ftp.info-zip.org/pub/infozip/src/
+INFOZIP_DIR = $(BUILD_DIR)/zip$(INFOZIP_VERSION)
+
+$(DL_DIR)/$(INFOZIP_SOURCE):
+ $(call DOWNLOAD,$(INFOZIP_SITE)/$(INFOZIP_SOURCE))
+
+$(INFOZIP_DIR)/.source: $(DL_DIR)/$(INFOZIP_SOURCE)
+ $(ZCAT) $(DL_DIR)/$(INFOZIP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ touch $@
+
+$(INFOZIP_DIR)/.build: $(INFOZIP_DIR)/.source
+ make -C $(INFOZIP_DIR) -f unix/Makefile generic CC=$(TARGET_CC)
+ touch $@
+
+$(INFOZIP_DIR)/.install: $(INFOZIP_DIR)/.build
+ make -C $(INFOZIP_DIR) -f unix/Makefile install prefix=$(TARGET_DIR)/usr CC=$(TARGET_CC)
+ touch $@
+
+infozip: $(INFOZIP_DIR)/.install
+
+infozip-source: $(DL_DIR)/$(INFOZIP_SOURCE)
+
+infozip-clean:
+ rm -rf $(INFOZIP_DIR)
+
+infozip-dirclean:
+ rm -rf $(INFOZIP_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(BR2_PACKAGE_INFOZIP),y)
+TARGETS += infozip
+endif
--
1.7.10.4
next reply other threads:[~2013-01-08 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 13:38 Jan Pedersen [this message]
2013-01-08 14:38 ` [Buildroot] [PATCH 1/1] added infozip package Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357652308-20027-1-git-send-email-jp@jp-embedded.com \
--to=jp@jp-embedded.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox