2023-03-03 20:55:50 -05:00
|
|
|
# Description: 7-zip compression utilities
|
|
|
|
# URL: https://github.com/p7zip-project/
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on:
|
|
|
|
# Optional: yasm
|
2012-01-09 12:53:00 +11:00
|
|
|
|
|
|
|
name=p7zip
|
2023-03-03 20:55:50 -05:00
|
|
|
version=17.05
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz)
|
2012-01-09 12:53:00 +11:00
|
|
|
|
|
|
|
build() {
|
2023-03-03 20:55:50 -05:00
|
|
|
cd $name-$version
|
|
|
|
prt-get isinst yasm && cp makefile.linux_amd64_asm makefile.linux \
|
|
|
|
|| cp makefile.linux_amd64 makefile.linux
|
2012-01-09 12:53:00 +11:00
|
|
|
|
2023-03-03 20:55:50 -05:00
|
|
|
make -j ${JOBS:-1} all3
|
2018-02-07 18:45:24 +11:00
|
|
|
|
2023-03-03 20:55:50 -05:00
|
|
|
mkdir -p $PKG/usr/bin $PKG/usr/share/man $PKG/usr/lib/$name
|
|
|
|
install -m 0755 bin/{7z,7za,7zr} $PKG/usr/bin
|
|
|
|
install -m 0755 bin/{7z.so,7zCon.sfx} $PKG/usr/lib/$name
|
|
|
|
cp -r bin/Codecs $PKG/usr/lib/$name
|
|
|
|
cp -r man1 $PKG/usr/share/man
|
2012-01-09 12:53:00 +11:00
|
|
|
}
|