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
|
2020-07-16 17:43:51 +00:00
|
|
|
# Depends on: bzip2 xz zlib acl lzo zstd
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
name=libarchive
|
2020-12-01 12:49:54 +01:00
|
|
|
version=3.5.0
|
2016-05-05 13:03:57 +02:00
|
|
|
release=1
|
2019-07-16 12:49:55 +02:00
|
|
|
source=(https://github.com/libarchive/libarchive/releases/download/v$version/$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
|
|
|
|
2018-09-04 18:42:44 +02:00
|
|
|
# We're passing --without-xml2, --without-expat and --without-nettle
|
2014-04-01 19:28:44 +02:00
|
|
|
# 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.
|
|
|
|
|
2020-07-16 17:35:12 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-xml2 \
|
|
|
|
--without-expat \
|
|
|
|
--without-nettle \
|
|
|
|
--without-openssl
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|