summaryrefslogtreecommitdiffstats
path: root/libarchive/Pkgfile
blob: cb9c77c4cbe5320ebcc2f384f6e85589bcfb7427 (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 \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--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
}