diff options
author | Han Boetes <han@mijncomputer.nl> | 2006-11-13 21:12:21 +0100 |
---|---|---|
committer | Han Boetes <han@mijncomputer.nl> | 2006-11-13 21:12:21 +0100 |
commit | 32295a9faf0f964a313a84bb5a4e3fdeaf15e72f (patch) | |
tree | 48bd60cc85026b7f5effe956cd01e09d1e66234c /p7zip/Pkgfile | |
parent | 4d6af94f215944409f18f85d1804bc04c3d32efd (diff) | |
download | contrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.gz contrib-32295a9faf0f964a313a84bb5a4e3fdeaf15e72f.tar.xz |
abiword: initial release
Diffstat (limited to 'p7zip/Pkgfile')
-rw-r--r-- | p7zip/Pkgfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/p7zip/Pkgfile b/p7zip/Pkgfile new file mode 100644 index 000000000..e25c5acaf --- /dev/null +++ b/p7zip/Pkgfile @@ -0,0 +1,29 @@ +# Description: p7zip is a port of 7-Zip, the archiver with the highest compression ratio. +# URL: http://p7zip.sourceforge.net/ +# Maintainer: Han Boetes <han@mijncomputer.nl> +# Packager: Han Boetes <han@mijncomputer.nl> + +name=p7zip +version=4.39 +release=1 +source="http://heanet.dl.sourceforge.net/sourceforge/$name/${name}_${version}_src_all.tar.bz2" + +build() +{ + cd ${name}_$version + ( + set +x + set -- $(find . -name '*.cpp' -or -name '*.h') + for i in $*; do + echo >> $i + done + ) + sed -i "s|/usr/local|/usr|" makefile + sed -i "s|/usr/local|$PKG/usr|" ./install.sh + # cp makefile.architecture makefile.machine + sed -i "s|-Wall -O2|$CFLAGS|" makefile.machine + make 7za sfx + ./install.sh + # bludi bludi bludi + ln -sf /usr/lib/p7zip/7za $PKG/usr/bin/7za +} |