summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-12-31 16:38:19 +0100
committertnut <tnut at nutyx dot com>2011-12-31 16:38:19 +0100
commit46982edafbaf66b4d14d2e220e7a6afa06d3fe7e (patch)
tree7aed60630429abca878255d2dac45f077d26ccba
parent0d47eb5a740404961be930e3b4dc1e8a04fac522 (diff)
downloadnutyx-pakxe-46982edafbaf66b4d14d2e220e7a6afa06d3fe7e.tar.gz
nutyx-pakxe-46982edafbaf66b4d14d2e220e7a6afa06d3fe7e.tar.bz2
nutyx-pakxe-46982edafbaf66b4d14d2e220e7a6afa06d3fe7e.tar.xz
nutyx-pakxe-46982edafbaf66b4d14d2e220e7a6afa06d3fe7e.zip
pkg-get, maj 0.3.91-1
-rw-r--r--base/pkg-get/.footprint.i68612
-rw-r--r--base/pkg-get/.footprint.x86_6412
-rw-r--r--base/pkg-get/.md5sum.i6866
-rw-r--r--base/pkg-get/.md5sum.x86_646
-rw-r--r--base/pkg-get/Pkgfile31
-rw-r--r--base/pkg-get/syn7
6 files changed, 27 insertions, 47 deletions
diff --git a/base/pkg-get/.footprint.i686 b/base/pkg-get/.footprint.i686
index c40474feb..a7cdc34c6 100644
--- a/base/pkg-get/.footprint.i686
+++ b/base/pkg-get/.footprint.i686
@@ -1,13 +1,11 @@
drwxr-xr-x root/root etc/
--rw-rw-r-- root/root etc/pkg-get-awk.conf
-lrwxrwxrwx root/root etc/pkg-get.conf -> pkg-get-awk.conf
+-rwxr-xr-x root/root etc/pkg-get.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-lrwxrwxrwx root/root usr/bin/pkg-get -> pkg-get.awk
--rwxr-xr-x root/root usr/bin/pkg-get.awk
+-rwxr-xr-x root/root usr/bin/pkg-get
-rwxr-xr-x root/root usr/bin/syn
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/locale/
-drwxr-xr-x root/root usr/share/locale/en/
-drwxr-xr-x root/root usr/share/locale/en/LC_MESSAGES/
--rw-r--r-- root/root usr/share/locale/en/LC_MESSAGES/pkg-get.mo
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo
diff --git a/base/pkg-get/.footprint.x86_64 b/base/pkg-get/.footprint.x86_64
index c40474feb..a7cdc34c6 100644
--- a/base/pkg-get/.footprint.x86_64
+++ b/base/pkg-get/.footprint.x86_64
@@ -1,13 +1,11 @@
drwxr-xr-x root/root etc/
--rw-rw-r-- root/root etc/pkg-get-awk.conf
-lrwxrwxrwx root/root etc/pkg-get.conf -> pkg-get-awk.conf
+-rwxr-xr-x root/root etc/pkg-get.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-lrwxrwxrwx root/root usr/bin/pkg-get -> pkg-get.awk
--rwxr-xr-x root/root usr/bin/pkg-get.awk
+-rwxr-xr-x root/root usr/bin/pkg-get
-rwxr-xr-x root/root usr/bin/syn
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/locale/
-drwxr-xr-x root/root usr/share/locale/en/
-drwxr-xr-x root/root usr/share/locale/en/LC_MESSAGES/
--rw-r--r-- root/root usr/share/locale/en/LC_MESSAGES/pkg-get.mo
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/pkg-get.mo
diff --git a/base/pkg-get/.md5sum.i686 b/base/pkg-get/.md5sum.i686
index 5f7021b76..a32a5a6e3 100644
--- a/base/pkg-get/.md5sum.i686
+++ b/base/pkg-get/.md5sum.i686
@@ -1,4 +1,2 @@
-f6315a1706ee8cee7dcd4b63b520a37a pkg-get-awk.conf
-c594d6ef62e81a176398d1c0cfd41e5d pkg-get.awk
-bf4713f8f6976dd4d2d860fe6b4b03d0 pkg-get.po
-4d89f89107b269e1579a7e4a440eddb1 syn
+3d00e874acdda40e50e6c5cf08cc39ae pkg-get-0.3.91.tar.gz
+4b2308a5898180c997380228c0dc893b syn
diff --git a/base/pkg-get/.md5sum.x86_64 b/base/pkg-get/.md5sum.x86_64
index 5f7021b76..a32a5a6e3 100644
--- a/base/pkg-get/.md5sum.x86_64
+++ b/base/pkg-get/.md5sum.x86_64
@@ -1,4 +1,2 @@
-f6315a1706ee8cee7dcd4b63b520a37a pkg-get-awk.conf
-c594d6ef62e81a176398d1c0cfd41e5d pkg-get.awk
-bf4713f8f6976dd4d2d860fe6b4b03d0 pkg-get.po
-4d89f89107b269e1579a7e4a440eddb1 syn
+3d00e874acdda40e50e6c5cf08cc39ae pkg-get-0.3.91.tar.gz
+4b2308a5898180c997380228c0dc893b syn
diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile
index b2b88119e..89be056e9 100644
--- a/base/pkg-get/Pkgfile
+++ b/base/pkg-get/Pkgfile
@@ -1,25 +1,20 @@
# Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide
# URL: http://www.nutyx.org
# Maintainer: NuTyX core team
-# Packager: guy_
+# Packager: tnut at nutyx dot com
+# Depends on: curl
name=pkg-get
-version=0.3.5
-release=3
-source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po)
+version=0.3.91
+release=1
+source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \
+ syn)
-PKGMK_KEEP_LOCALES=yes
-
-build() {
- msgfmt pkg-get.po -o pkg-get.mo
- mkdir -p $PKG/usr/bin
- install -m 755 pkg-get.awk $PKG/usr/bin
- install -m 755 syn $PKG/usr/bin/syn
- ln -s pkg-get.awk $PKG/usr/bin/pkg-get
- mkdir -p $PKG/etc
- install -m 664 pkg-get-awk.conf $PKG/etc
- sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get-awk.conf
- ln -s pkg-get-awk.conf $PKG/etc/pkg-get.conf
- mkdir -p $PKG/usr/share/locale/en/LC_MESSAGES
- install -m 644 pkg-get.mo $PKG/usr/share/locale/en/LC_MESSAGES
+build()
+{
+ cd $name-$version
+ make
+ make DESTDIR=$PKG install
+ sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get.conf
+ install -m 755 ../syn $PKG/usr/bin/syn
}
diff --git a/base/pkg-get/syn b/base/pkg-get/syn
index 95284d529..68a38c4b2 100644
--- a/base/pkg-get/syn
+++ b/base/pkg-get/syn
@@ -25,13 +25,6 @@ fi
if ! mountpoint /media/cdrom > /dev/null; then
find_cd
fi
-for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4`
-do
- if [ -a $Depot/$i ]; then
- rm -r $Depot/$i
- fi
- mkdir -p $Depot/$i
-done
pkg-get sync
for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4`
do