summaryrefslogtreecommitdiff
path: root/sources/xz/xz.spec
diff options
context:
space:
mode:
Diffstat (limited to 'sources/xz/xz.spec')
-rw-r--r--sources/xz/xz.spec21
1 files changed, 21 insertions, 0 deletions
diff --git a/sources/xz/xz.spec b/sources/xz/xz.spec
new file mode 100644
index 0000000..804cb41
--- /dev/null
+++ b/sources/xz/xz.spec
@@ -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
+} \ No newline at end of file