31 lines
		
	
	
	
		
			673 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			673 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# Tanım: 7zip sıkıştırılmış dosya arşivinin konsol uygulaması
 | 
						||
# URL: http://p7zip.sourceforge.net
 | 
						||
# Paketçi: milisarge
 | 
						||
# Gerekler: yasm 
 | 
						||
# Grup: ağ
 | 
						||
 | 
						||
isim=p7zip
 | 
						||
surum=16.02
 | 
						||
devir=1
 | 
						||
 | 
						||
kaynak=(https://downloads.sourceforge.net/project/$isim/$isim/$surum/${isim}_${surum}_src_all.tar.bz2
 | 
						||
		CVE-2016-9296.patch)
 | 
						||
 | 
						||
derle() {
 | 
						||
	cd ${isim}_$surum
 | 
						||
	# https://sourceforge.net/p/p7zip/bugs/185/
 | 
						||
	patch -Np1 -i $SRC/CVE-2016-9296.patch
 | 
						||
 | 
						||
	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
 | 
						||
}
 |