milis/talimatname/temel/xz/talimat

29 lines
646 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: Free general-purpose data compression software with high compression ratio.
2016-02-24 01:27:23 +01:00
# URL: http://tukaani.org/xz/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
isim=xz
surum=5.2.2
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://tukaani.org/xz/xz-$surum.tar.xz)
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
2017-10-28 14:15:02 +02:00
cd xz-$surum
2016-02-24 01:27:23 +01:00
sed -e '/mf\.buffer = NULL/a next->coder->mf.size = 0;' \
-i src/liblzma/lz/lz_encoder.c
./configure --prefix=/usr \
--bindir=/bin \
2017-10-28 14:15:02 +02:00
--docdir=/usr/share/doc/xz-$surum
2016-02-24 01:27:23 +01:00
make
make pkgconfigdir=/usr/lib/pkgconfig DESTDIR=$PKG install
mkdir -pv $PKG/{,usr/}lib
mv -v $PKG/usr/lib/liblzma.so.* \
$PKG/lib
2017-10-28 14:15:02 +02:00
ln -svf ../../lib/liblzma.so.$surum $PKG/usr/lib/liblzma.so
2016-03-07 13:45:49 +01:00
rm -r $PKG/usr/share/doc/
2017-10-27 21:56:50 +02:00
}