CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[crossrootfs.git] / libarchive / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Library to create and read several archive formats
2# URL: http://people.freebsd.org/~kientzle/libarchive/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5333ef72 5# Depends on: bzip2 xz zlib acl
6dca1d21
JB
6
7name=libarchive
f66e3cca
JB
8version=3.0.4
9release=1
10source=(https://github.com/downloads/$name/$name/$name-$version.tar.gz)
6dca1d21
JB
11
12build() {
f66e3cca 13 cd $name-$version
5333ef72
VM
14 # We're passing --without-lzmadec, because we want to use xz for
15 # LZMA support, not the obsolete lzmadec library.
16 #
17 # We're passing --without-xml2 and --without-expat to avoid linking
18 # to libraries which are only available in opt. XML support is only
19 # needed for the xar format which we can live without.
20
6dca1d21
JB
21 ./configure --build=$CHOST \
22 --host=$CTARGET \
23 --prefix=/usr \
24 --mandir=/usr/man \
5333ef72
VM
25 --without-lzmadec \
26 --without-xml2 \
27 --without-expat \
28 --without-openssl
6dca1d21
JB
29 make
30 make DESTDIR=$PKG install
31}