mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Built libarchive
This commit is contained in:
26
sources/libarchive/libarchive.spec
Normal file
26
sources/libarchive/libarchive.spec
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="90e21f2b89f19391ce7b90f6e48ed9fde5394d23ad30ae256fb8236b38b99788"
|
||||
SRC_NAME="libarchive"
|
||||
SRC_URL="https://www.libarchive.org/downloads/libarchive-3.8.3.tar.xz"
|
||||
SRC_VERSION="3.8.3"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd libarchive-*/
|
||||
# NOTE: bsdtar is disabled here because Busybox's implementation is complete
|
||||
# enough to be useful and bootstrapping libarchive is a pain. ~ahill
|
||||
./configure $TT_AUTOCONF_COMMON \
|
||||
--disable-bsdtar \
|
||||
--disable-static \
|
||||
--enable-year2038
|
||||
make -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf libarchive-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd libarchive-*/
|
||||
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user