diff options
-rw-r--r-- | pkgmk/.footprint.i686 | 22 | ||||
-rw-r--r-- | pkgmk/.footprint.x86_64 | 22 | ||||
-rw-r--r-- | pkgmk/.md5sum.i686 | 1 | ||||
-rw-r--r-- | pkgmk/.md5sum.x86_64 | 1 | ||||
-rw-r--r-- | pkgmk/Pkgfile | 26 | ||||
-rw-r--r-- | pkgmk/pre-install | 3 |
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 |