blob: 05db5f09ba5567252bd4c4da60307abf8998ee4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="c7b847b57feacf5e182f4d14dd6cae545ac6843d55cb725f58e107cdf1c9ad73"
SRC_NAME="libarchive"
SRC_URL="https://libarchive.org/downloads/libarchive-3.8.4.tar.xz"
SRC_VERSION="3.8.4"
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-static --enable-year2038
make -j $TT_PROCS
}
clean() {
rm -rf libarchive-*/
}
package() {
cd libarchive-*/
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}
|