summaryrefslogtreecommitdiff
path: root/repo/system/xz.xibuild
blob: 231a30f53878e9a5fb465352d78684d54848fecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

MAKEDEPS=(make )
DEPS=(sh)

PKG_VER=5.2.5
SOURCE=https://git.tukaani.org/xz.git
BRANCH=v$PKG_VER
DESC="a selection of programs for compressing and decompressing files with the lzma and xz compression formats"


build () {
    ./autogen.sh
    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-$PKG_VER
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install
}