2007-04-21 11:58:08 +02:00
|
|
|
# Description: Library to create and read several archive formats
|
2021-08-23 11:54:12 +02:00
|
|
|
# URL: http://www.libarchive.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-10-24 20:41:07 +02:00
|
|
|
# Depends on: acl bzip2 lzo xz zlib zstd
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
name=libarchive
|
2022-04-09 12:23:52 +02:00
|
|
|
version=3.6.1
|
2022-02-08 14:09:04 +01:00
|
|
|
release=1
|
2021-08-23 11:54:12 +02:00
|
|
|
source=(https://github.com/libarchive/libarchive/releases/download/v$version/$name-$version.tar.xz)
|
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
|
|
|
|
2021-10-24 20:41:07 +02:00
|
|
|
# We're passing --without-xml2, --without-expat, --without-nettle
|
|
|
|
# and --without-libb2
|
|
|
|
# to avoid linking to libraries which are only available in opt.
|
2014-04-01 19:28:44 +02:00
|
|
|
# XML support is only needed for the xar format which we can live without.
|
2021-10-24 20:41:07 +02:00
|
|
|
|
2020-07-16 19:35:12 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-xml2 \
|
|
|
|
--without-expat \
|
|
|
|
--without-nettle \
|
2021-10-24 20:41:07 +02:00
|
|
|
--without-openssl \
|
|
|
|
--without-libb2
|
2007-04-21 11:58:08 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|