From 13984f725db156cbc952d0afe90f27da15a0b85d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 12:56:22 -0500 Subject: Initial commit --- xz/build.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 xz/build.sh (limited to 'xz/build.sh') diff --git a/xz/build.sh b/xz/build.sh new file mode 100644 index 0000000..e625ffc --- /dev/null +++ b/xz/build.sh @@ -0,0 +1,25 @@ +#!/bin/bash +name=xz +version=5.2.4 +revision=0 +sources=( + "https://tukaani.org/xz/${name}-${version}.tar.gz" +) +depends=() + + +function prepare() { + tar xf ${name}-${version}.tar.gz + cd ${name}-${version} +} + +function build() { + ./configure --prefix=${_prefix} + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} + + -- cgit