summaryrefslogtreecommitdiffstats
path: root/libarchive/Pkgfile
blob: 4102bac3df47f0ddc0b3d4c66c515f4af14bf6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
description="Library to create and read several archive formats."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://code.google.com/p/libarchive/"
depends=(bzip2 xz zlib acl)

name=libarchive
version=2.8.4
release=1
source=(http://libarchive.googlecode.com/files/$name-$version.tar.gz)
build () 
{ 
	cd libarchive-$version;
	./configure \
		--prefix=$prefix \
		--mandir=$mandir \
		--without-lzmadec \
		--without-xml2 \
		--without-expat \
		--without-openssl;
	make;
	make DESTDIR=$PKG install
	ln -sf bsdtar $PKG$bindir/tar
	ln -sf bsdcpio $PKG$bindir/cpio
}