mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Added xz
This commit is contained in:
21
sources/xz/xz.spec
Normal file
21
sources/xz/xz.spec
Normal file
@@ -0,0 +1,21 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e"
|
||||
SRC_NAME="xz"
|
||||
SRC_URL="https://github.com/tukaani-project/xz/releases/download/v5.8.1/xz-5.8.1.tar.xz"
|
||||
SRC_VERSION="5.8.1"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd xz-*/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static --enable-year2038
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf xz-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd xz-*/
|
||||
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user