milis/talimatname/genel/p/p7zip/talimat

32 lines
673 B
Text
Raw Normal View History

2017-12-29 10:33:31 +02:00
# Tanım: 7zip sıkıştırılmış dosya arşivinin konsol uygulaması
2016-02-24 02:27:23 +02:00
# URL: http://p7zip.sourceforge.net
2017-10-27 21:46:27 +03:00
# Paketçi: milisarge
2017-12-29 10:33:31 +02:00
# Gerekler: yasm
# Grup: ağ
2016-02-24 02:27:23 +02:00
2017-10-28 15:10:23 +03:00
isim=p7zip
2017-12-29 10:33:31 +02:00
surum=16.02
2017-10-28 15:10:23 +03:00
devir=1
2016-02-24 02:27:23 +02:00
2017-12-29 10:33:31 +02:00
kaynak=(https://downloads.sourceforge.net/project/$isim/$isim/$surum/${isim}_${surum}_src_all.tar.bz2
CVE-2016-9296.patch)
2016-02-24 02:27:23 +02:00
2017-10-28 00:59:41 +03:00
derle() {
2017-10-28 15:10:23 +03:00
cd ${isim}_$surum
2017-12-29 10:33:31 +02:00
# https://sourceforge.net/p/p7zip/bugs/185/
patch -Np1 -i $SRC/CVE-2016-9296.patch
2016-02-24 02:27:23 +02:00
2017-12-29 10:33:31 +02:00
cp makefile.linux_amd64_asm makefile.machine
make all3
make install \
DEST_DIR="$PKG" \
DEST_HOME=/usr
# Remove documentation for the GUI file manager
rm -r "$PKG/usr/share/doc/"
install -d "${PKG}"/usr/share/licenses/p7zip
2016-02-24 02:27:23 +02:00
}