2007-04-21 11:58:08 +02:00
|
|
|
# Description: Library to create and read several archive formats
|
|
|
|
# URL: http://people.freebsd.org/~kientzle/libarchive/
|
2008-05-05 11:24:34 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2009-10-08 19:58:21 +02:00
|
|
|
# Depends on: bzip2, xz, zlib
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
name=libarchive
|
2010-03-17 07:28:20 +01:00
|
|
|
version=2.8.3
|
2010-04-10 16:43:54 +02:00
|
|
|
release=2
|
2009-08-19 19:33:48 +02:00
|
|
|
source=(http://$name.googlecode.com/files/$name-$version.tar.gz)
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd libarchive-$version
|
|
|
|
|
2009-08-08 07:30:52 +02:00
|
|
|
# We're passing --without-lzmadec, because we want to use xz for
|
|
|
|
# LZMA support, not the obsolete lzmadec library.
|
2010-03-17 07:28:20 +01:00
|
|
|
#
|
|
|
|
# We're passing --without-xml2 and --without-expat to avoid linking
|
|
|
|
# to libraries which are only available in opt. XML support is only
|
|
|
|
# needed for the xar format which we can live without.
|
2009-08-08 07:30:52 +02:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man \
|
2010-03-17 07:28:20 +01:00
|
|
|
--disable-xattr --without-lzmadec \
|
2010-04-10 16:43:54 +02:00
|
|
|
--without-xml2 --without-expat --without-openssl
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|