summaryrefslogtreecommitdiffstats
path: root/extra/xz-utils/Pkgfile
blob: d9dff36d8581d63eb80a6a75a014a1b3ab188622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Utilitaire pour extraire/comprimer les fichiers lzma
# URL: http://tukaani.org/lz/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=xz-utils
version=4.999.8beta
release=1
source=(http://tukaani.org/xz/xz-$version.tar.gz)

build() {
        cd xz-$version
        ./configure --prefix=/usr \
		--disable-static \
		--disable-rpath \
                --sysconfdir=/etc \
                --mandir=/usr/share/man
	sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
	sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
        make
        make DESTDIR=$PKG install
}