2007-04-21 11:58:08 +02:00
|
|
|
# Description: Library to create and read several archive formats
|
2013-02-06 16:52:29 +01:00
|
|
|
# URL: http://www.libarchive.org/
|
2012-06-23 17:12:59 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: bzip2, xz, zlib, acl
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
name=libarchive
|
2013-12-01 18:28:53 +01:00
|
|
|
version=3.1.2
|
2014-04-01 19:28:44 +02:00
|
|
|
release=2
|
2013-02-06 16:52:29 +01:00
|
|
|
source=(http://www.libarchive.org/downloads/$name-$version.tar.gz)
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
build() {
|
2012-06-23 17:12:59 +02:00
|
|
|
cd $name-$version
|
2007-04-21 11:58:08 +02:00
|
|
|
|
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
|
|
|
#
|
2014-04-01 19:28:44 +02:00
|
|
|
# We're passing --without-xml2, --without-expatto and --without-nettle
|
|
|
|
# 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-06-03 10:38:56 +00:00
|
|
|
--without-lzmadec \
|
2014-04-01 19:28:44 +02:00
|
|
|
--without-xml2 \
|
|
|
|
--without-expat \
|
|
|
|
--without-nettle \
|
|
|
|
--without-openssl
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|