diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:51:57 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:51:57 +0200 |
commit | 98325680bbe233c3b9517df76975baa0daaeebc1 (patch) | |
tree | 280510675fca1a67dbdfc55ba698c142dbf6dd3a /extra/p7zip/Pkgfile | |
parent | 21a507cae46e3f0fc54ba7b7e4e87fd115fc4a46 (diff) | |
download | nutyx-pakxe-98325680bbe233c3b9517df76975baa0daaeebc1.tar.gz nutyx-pakxe-98325680bbe233c3b9517df76975baa0daaeebc1.tar.bz2 nutyx-pakxe-98325680bbe233c3b9517df76975baa0daaeebc1.tar.xz nutyx-pakxe-98325680bbe233c3b9517df76975baa0daaeebc1.zip |
p7zip#4.65-1
Diffstat (limited to 'extra/p7zip/Pkgfile')
-rw-r--r-- | extra/p7zip/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/p7zip/Pkgfile b/extra/p7zip/Pkgfile new file mode 100644 index 000000000..f02b7ecd5 --- /dev/null +++ b/extra/p7zip/Pkgfile @@ -0,0 +1,26 @@ +# Description: Utilitaire de compression en ligne dérivé de 7zip +# URL: http://p7zip.sourceforge.net +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: + +name=p7zip +version=4.65 +release=1 +source=(http://downloads.sourceforge.net/sourceforge/$name/${name}_${version}_src_all.tar.bz2) + +build() { + cd ${name}_$version + sed -i "s|usr/local|usr|g" makefile + sed -i "s|-O1|$CXXFLAGS|g" makefile.machine + make all3 + sed -i "s|DEST_HOME=|DEST_HOME=$PKG/usr # |g" install.sh + ./install.sh + install -m555 bin/7z.so $PKG/usr/lib/p7zip/ + + sed -i "s|$PKG/usr|/usr|g" $PKG/usr/bin/7z + sed -i "s|$PKG/pkg/usr|/usr|g" $PKG/usr/bin/7za + sed -i "s|$PKG/usr|/usr|g" $PKG/usr/bin/7zr + mv $PKG/usr/man $PKG/usr/share/ + rm -rf $PKG/usr/share/doc +} |