libarchive package added
authorDaniel Mack <daniel@caiaq.de>
Tue, 25 Aug 2009 14:04:56 +0000 (16:04 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 2 Sep 2009 08:00:51 +0000 (10:00 +0200)
See http://code.google.com/p/libarchive/

[Peter: removed conditional target install, added wchar dependency]

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/Config.in
package/libarchive/Config.in [new file with mode: 0644]
package/libarchive/libarchive.mk [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index 414aa16ed9e8a9bed5409351a4c2388eba293617..9180864a6f541b7baa9ba63b709c79924222e4c7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
 2009.11, Not yet released:
 
+       New packages: libarchive
+
        Issues resolved (http://bugs.uclibc.org):
 
        #527: misc fixes for dnsmasq package
index f5f776063b3cbfb61ec6930426aa914d9f4d8baa..cf4db520fb7d71d8532e043b698cbd4058436f96 100644 (file)
@@ -380,6 +380,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 (file)
index 0000000..9154861
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBARCHIVE
+       bool "libarchive"
+       depends on BR2_USE_WCHAR
+       help
+         Libarchive is a reusable C library for reading and writing a
+         variety of streaming archive formats.
+
+         http://code.google.com/p/libarchive/
+
+comment "libarchive requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
new file mode 100644 (file)
index 0000000..72590fd
--- /dev/null
@@ -0,0 +1,15 @@
+#############################################################
+#
+# 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
+LIBARCHIVE_INSTALL_TARGET = YES
+
+LIBARCHIVE_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,libarchive))