2007-04-21 11:58:08 +02:00
|
|
|
# Description: Library to create and read several archive formats
|
2021-12-13 12:15:06 +01:00
|
|
|
# URL: https://www.libarchive.org/
|
2021-08-23 11:54:12 +02:00
|
|
|
# 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-12-10 12:45:34 +01:00
|
|
|
version=3.6.2
|
2022-12-19 15:17:52 +01:00
|
|
|
release=2
|
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() {
|
2022-12-19 15:17:52 +01:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
# We're passing --without-xml2, --without-nettle and --without-libb2
|
2021-10-24 20:41:07 +02:00
|
|
|
# to avoid linking to libraries which are only available in opt.
|
2007-04-21 11:58:08 +02:00
|
|
|
|
2022-12-19 15:17:52 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2022-12-19 16:17:53 +01:00
|
|
|
--without-iconv \
|
2022-12-19 15:17:52 +01:00
|
|
|
--without-xml2 \
|
|
|
|
--without-nettle \
|
|
|
|
--without-libb2
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-04-21 11:58:08 +02:00
|
|
|
}
|