aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libarchive
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-19 11:25:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-19 11:25:53 +0000
commit7269013bc00062d01ca5bb2ad4fd55cf5bcd9887 (patch)
tree62572bfc4853530e9ce29bc75600b0507954e23b /testing/libarchive
parent47e1ebf2c62393e3c346090b97fac10a46c2b6bf (diff)
downloadaports-7269013bc00062d01ca5bb2ad4fd55cf5bcd9887.tar.bz2
aports-7269013bc00062d01ca5bb2ad4fd55cf5bcd9887.tar.xz
testing/libarchive: new aport
library that can create and read several streaming archive formats http://libarchive.googlecode.com/
Diffstat (limited to 'testing/libarchive')
-rw-r--r--testing/libarchive/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libarchive/APKBUILD b/testing/libarchive/APKBUILD
new file mode 100644
index 0000000000..d85ab21c01
--- /dev/null
+++ b/testing/libarchive/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libarchive
+pkgver=2.8.4
+pkgrel=0
+pkgdesc="library that can create and read several streaming archive formats"
+url="http://libarchive.googlecode.com/"
+arch="all"
+license="BSD"
+depends=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+makedepends="zlib-dev bzip2-dev xz-dev acl-dev openssl-dev expat-dev"
+source="http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build () {
+ cd "$_builddir"
+ ./configure --prefix=/usr --without-xml2
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+tools() {
+ pkgdesc="libarchive tools bsdtar and bsdcpio"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="83b237a542f27969a8d68ac217dc3796 libarchive-2.8.4.tar.gz"