summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-08-25 16:04:56 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-09-02 10:00:51 +0200
commit32518793e17357fced65c928308ffdcebe142563 (patch)
tree202a1fb0f7d3ce51eb2b8335fe87c17139ec6e5d /package
parent74834991a8d2a308b46d0d1375ffab90c75c6c39 (diff)
downloadbuildroot-novena-32518793e17357fced65c928308ffdcebe142563.tar.gz
buildroot-novena-32518793e17357fced65c928308ffdcebe142563.zip
libarchive package added
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>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/libarchive/Config.in11
-rw-r--r--package/libarchive/libarchive.mk15
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index f5f776063..cf4db520f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 000000000..9154861c0
--- /dev/null
+++ b/package/libarchive/Config.in
@@ -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
index 000000000..72590fd02
--- /dev/null
+++ b/package/libarchive/libarchive.mk
@@ -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))