summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/p7zip/.footprint20
-rw-r--r--extra/p7zip/.md5sum1
-rw-r--r--extra/p7zip/Pkgfile26
3 files changed, 47 insertions, 0 deletions
diff --git a/extra/p7zip/.footprint b/extra/p7zip/.footprint
new file mode 100644
index 000000000..e74d07174
--- /dev/null
+++ b/extra/p7zip/.footprint
@@ -0,0 +1,20 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-r-xr-xr-x root/root usr/bin/7z
+-r-xr-xr-x root/root usr/bin/7za
+-r-xr-xr-x root/root usr/bin/7zr
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/p7zip/
+-r-xr-xr-x root/root usr/lib/p7zip/7z
+-r-xr-xr-x root/root usr/lib/p7zip/7z.so
+-r-xr-xr-x root/root usr/lib/p7zip/7zCon.sfx
+-r-xr-xr-x root/root usr/lib/p7zip/7za
+-r-xr-xr-x root/root usr/lib/p7zip/7zr
+drwxr-xr-x root/root usr/lib/p7zip/Codecs/
+-r-xr-xr-x root/root usr/lib/p7zip/Codecs/Rar29.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/
+-r--r--r-- root/root usr/share/man/man1/7z.1.gz
+-r--r--r-- root/root usr/share/man/man1/7za.1.gz
+-r--r--r-- root/root usr/share/man/man1/7zr.1.gz
diff --git a/extra/p7zip/.md5sum b/extra/p7zip/.md5sum
new file mode 100644
index 000000000..0b28b2f2f
--- /dev/null
+++ b/extra/p7zip/.md5sum
@@ -0,0 +1 @@
+f78ed232436dc8f8be25a2f95d4e5f9a p7zip_4.65_src_all.tar.bz2
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
+}