summaryrefslogtreecommitdiffstats
path: root/pkgmk
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-07-10 22:09:48 +0200
committerpiernov <piernov@piernov.org>2012-08-06 14:22:36 +0200
commit431d71208a8254f96316dcca23245eb14e0410d4 (patch)
tree79e28ef0c6f836a8126d4929f176f8024ae4c227 /pkgmk
parent4f03b675d98934121bb10ac11497c30c84921dc0 (diff)
downloadnutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.gz
nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.bz2
nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.xz
nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.zip
pkgmk, ajout port
(cherry picked from commit 34d00e4e45bc7a93716c821467aed08cf77e5dc3)
Diffstat (limited to 'pkgmk')
-rw-r--r--pkgmk/.footprint.i68622
-rw-r--r--pkgmk/.footprint.x86_6422
-rw-r--r--pkgmk/.md5sum.i6861
-rw-r--r--pkgmk/.md5sum.x86_641
-rw-r--r--pkgmk/Pkgfile26
-rw-r--r--pkgmk/pre-install3
6 files changed, 75 insertions, 0 deletions
diff --git a/pkgmk/.footprint.i686 b/pkgmk/.footprint.i686
new file mode 100644
index 000000000..361673a4d
--- /dev/null
+++ b/pkgmk/.footprint.i686
@@ -0,0 +1,22 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/pkgmk.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/rc.local/
+-rwxr-xr-x root/root etc/rc.d/rc.local/CheckBinary
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ADD
+-rwxr-xr-x root/root usr/bin/deps.awk
+lrwxrwxrwx root/root usr/bin/pkg-get-md5sum -> pkgmk-info
+lrwxrwxrwx root/root usr/bin/pkg-get-url -> pkgmk-info
+lrwxrwxrwx root/root usr/bin/pkg-get-version -> pkgmk-info
+-rwxr-xr-x root/root usr/bin/pkg-repgen
+-rwxr-xr-x root/root usr/bin/pkgmk
+-rwxr-xr-x root/root usr/bin/pkgmk-info
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/pkgmk.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pkg-repgen.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pkgmk.8.gz
diff --git a/pkgmk/.footprint.x86_64 b/pkgmk/.footprint.x86_64
new file mode 100644
index 000000000..361673a4d
--- /dev/null
+++ b/pkgmk/.footprint.x86_64
@@ -0,0 +1,22 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/pkgmk.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/rc.local/
+-rwxr-xr-x root/root etc/rc.d/rc.local/CheckBinary
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/ADD
+-rwxr-xr-x root/root usr/bin/deps.awk
+lrwxrwxrwx root/root usr/bin/pkg-get-md5sum -> pkgmk-info
+lrwxrwxrwx root/root usr/bin/pkg-get-url -> pkgmk-info
+lrwxrwxrwx root/root usr/bin/pkg-get-version -> pkgmk-info
+-rwxr-xr-x root/root usr/bin/pkg-repgen
+-rwxr-xr-x root/root usr/bin/pkgmk
+-rwxr-xr-x root/root usr/bin/pkgmk-info
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/pkgmk.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pkg-repgen.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pkgmk.8.gz
diff --git a/pkgmk/.md5sum.i686 b/pkgmk/.md5sum.i686
new file mode 100644
index 000000000..3c86a81be
--- /dev/null
+++ b/pkgmk/.md5sum.i686
@@ -0,0 +1 @@
+b1d09bbb991f9ee35c4dcf32c0168fa2 pkgmk-0.0.1.tar.gz
diff --git a/pkgmk/.md5sum.x86_64 b/pkgmk/.md5sum.x86_64
new file mode 100644
index 000000000..3c86a81be
--- /dev/null
+++ b/pkgmk/.md5sum.x86_64
@@ -0,0 +1 @@
+b1d09bbb991f9ee35c4dcf32c0168fa2 pkgmk-0.0.1.tar.gz
diff --git a/pkgmk/Pkgfile b/pkgmk/Pkgfile
new file mode 100644
index 000000000..ae91d9249
--- /dev/null
+++ b/pkgmk/Pkgfile
@@ -0,0 +1,26 @@
+# Description: L'outil pour la production des paquets binaires pour
+# NuTyX
+# URL: http://www.nutyx.org
+# Maintainer: kiao.no-ip.info/NuTyX/git/?p=pkgmk;a=summary
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pkg-get
+# Run on:
+
+name=pkgmk
+version=0.0.1
+release=1
+source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz)
+
+build()
+{
+ ARCH_=`uname -m`
+
+ cd $name-$version
+ make clean
+ make all
+ make DESTDIR=$PKG install
+ if [ "$ARCH_" == "x86_64" ]; then
+ sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen
+ fi
+}
+
diff --git a/pkgmk/pre-install b/pkgmk/pre-install
new file mode 100644
index 000000000..4de789d26
--- /dev/null
+++ b/pkgmk/pre-install
@@ -0,0 +1,3 @@
+if ( /usr/bin/pkginfo -l pkg-repgen > /dev/null 2>&1) ; then
+ /usr/bin/pkgrm pkg-repgen
+fi