summaryrefslogtreecommitdiffstats
path: root/libarchive/Pkgfile
blob: 5760b41595f9f57c192078655920e6598dcd9531 (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
26
27
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 \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--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
}