summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/p7zip/.footprint20
-rw-r--r--base/p7zip/.md5sum1
-rw-r--r--base/p7zip/Pkgfile27
3 files changed, 48 insertions, 0 deletions
diff --git a/base/p7zip/.footprint b/base/p7zip/.footprint
new file mode 100644
index 000000000..e74d07174
--- /dev/null
+++ b/base/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/base/p7zip/.md5sum b/base/p7zip/.md5sum
new file mode 100644
index 000000000..fde42a1a5
--- /dev/null
+++ b/base/p7zip/.md5sum
@@ -0,0 +1 @@
+8ddb5053db3b1f2696407d01be145779 p7zip_9.13_src_all.tar.bz2
diff --git a/base/p7zip/Pkgfile b/base/p7zip/Pkgfile
new file mode 100644
index 000000000..2a44be021
--- /dev/null
+++ b/base/p7zip/Pkgfile
@@ -0,0 +1,27 @@
+# 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=9.13
+#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
+}