p7zip: 9.20.1 -> 16.02

This commit is contained in:
Danny Rawlins 2016-08-10 21:16:53 +10:00
parent a6ca795219
commit f8d442b449
3 changed files with 23 additions and 19 deletions

View File

@ -1,15 +1,20 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/7z -> /usr/lib/p7zip/7za
lrwxrwxrwx root/root usr/bin/7za -> /usr/lib/p7zip/7za
lrwxrwxrwx root/root usr/bin/7zr -> /usr/lib/p7zip/7zr
-rwxr-xr-x root/root usr/bin/7z
-rwxr-xr-x root/root usr/bin/7za
-rwxr-xr-x root/root usr/bin/7zr
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/p7zip/
-rwxr-xr-x root/root usr/lib/p7zip/7z
-rwxr-xr-x root/root usr/lib/p7zip/7z.so
-rwxr-xr-x root/root usr/lib/p7zip/7zCon.sfx
-rwxr-xr-x root/root usr/lib/p7zip/7za
-rwxr-xr-x root/root usr/lib/p7zip/7zr
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/7z.1.gz
-rw-r--r-- root/root usr/man/man1/7za.1.gz
-rw-r--r-- root/root usr/man/man1/7zr.1.gz
drwxr-xr-x root/root usr/lib/p7zip/Codecs/
-rwxr-xr-x root/root usr/lib/p7zip/Codecs/Rar.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/7z.1.gz
-rw-r--r-- root/root usr/share/man/man1/7za.1.gz
-rw-r--r-- root/root usr/share/man/man1/7zr.1.gz

View File

@ -1 +1 @@
bd6caaea567dc0d995c990c5cc883c89 p7zip_9.20.1_src_all.tar.bz2
a0128d661cfe7cc8c121e73519c54fbf p7zip_16.02_src_all.tar.bz2

View File

@ -2,25 +2,24 @@
# URL: http://p7zip.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Matt Housh, jaeger at crux dot nu
# Depends on: yasm
name=p7zip
version=9.20.1
version=16.02
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/${name}_${version}_src_all.tar.bz2)
build() {
cd ${name}_$version
sed -i -e "s/OPTFLAGS=.*/OPTFLAGS=$CFLAGS/" makefile.machine
cp makefile.linux_amd64_asm makefile.machine
make 7zr 7za sfx
sh install.sh usr/bin usr/lib/p7zip usr/man usr/share/doc/p7zip $PKG/
make all3 OPTFLAGS="$CFLAGS"
rm $PKG/usr/bin/7za $PKG/usr/bin/7zr
make install \
DEST_DIR="$PKG" \
DEST_HOME=/usr \
DEST_MAN=/usr/share/man
ln -s /usr/lib/p7zip/7za $PKG/usr/bin/7z
ln -s /usr/lib/p7zip/7za $PKG/usr/bin/7za
ln -s /usr/lib/p7zip/7zr $PKG/usr/bin/7zr
rm -r $PKG/usr/share
chmod -vR u+w $PKG
rm -r $PKG/usr/share/doc
}