Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libarchive package added
Date: Tue, 25 Aug 2009 16:04:56 +0200	[thread overview]
Message-ID: <1251209096-31922-1-git-send-email-daniel@caiaq.de> (raw)

See http://code.google.com/p/libarchive/

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 package/Config.in                |    1 +
 package/libarchive/Config.in     |   15 +++++++++++++++
 package/libarchive/libarchive.mk |   19 +++++++++++++++++++
 3 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 package/libarchive/Config.in
 create mode 100644 package/libarchive/libarchive.mk

diff --git a/package/Config.in b/package/Config.in
index 02ffb2d..a53e09a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -386,6 +386,7 @@ menu "Compressors / decompressors"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/gzip/Config.in"
 endif
+source "package/libarchive/Config.in"
 source "package/lzo/Config.in"
 source "package/lzop/Config.in"
 source "package/lzma/Config.in"
diff --git a/package/libarchive/Config.in b/package/libarchive/Config.in
new file mode 100644
index 0000000..93bfec2
--- /dev/null
+++ b/package/libarchive/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LIBARCHIVE
+	bool "libarchive"
+	help
+	  Libarchive is a reusable C library for reading and writing a
+	  variety of streaming archive formats.
+
+	  http://code.google.com/p/libarchive/
+
+config BR2_LIBARCHIVE_INSTALL_TO_TARGET
+	bool "install libarchive to target"
+	depends on BR2_PACKAGE_LIBARCHIVE
+	default y
+	help
+	  Say Y here to make BR2 copy the libarchive files to the target
+	  destination folder.
diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
new file mode 100644
index 0000000..e3f019b
--- /dev/null
+++ b/package/libarchive/libarchive.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# libarchive (reusable C library for archive formats)
+#
+#############################################################
+LIBARCHIVE_VERSION:=2.7.1
+LIBARCHIVE_SITE = http://libarchive.googlecode.com/files/
+LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.gz
+LIBARCHIVE_LIBTOOL_PATCH = NO
+LIBARCHIVE_INSTALL_STAGING = YES
+
+ifeq ($(BR2_LIBARCHIVE_INSTALL_TO_TARGET),y)
+	LIBARCHIVE_INSTALL_TARGET := YES
+endif
+
+LIBARCHIVE_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,libarchive))
+
-- 
1.6.3.3

             reply	other threads:[~2009-08-25 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 14:04 Daniel Mack [this message]
2009-08-31 20:48 ` [Buildroot] [PATCH] libarchive package added Daniel Mack
2009-09-01 14:52 ` Peter Korsgaard
2009-09-01 15:07   ` Daniel Mack
2009-09-01 15:16     ` Peter Korsgaard
2009-09-01 22:59       ` Daniel Mack
2009-09-02  8:02         ` Peter Korsgaard
2009-09-02  9:57           ` Daniel Mack

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=1251209096-31922-1-git-send-email-daniel@caiaq.de \
    --to=daniel@caiaq.de \
    --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