From fbda6ec65f50014ab4e2c773c90992c2ff7f51b8 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 22:17:18 +0200 Subject: Ajout de pkg-get#0.4.5-3 --- base/pkg-get/Pkgfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 base/pkg-get/Pkgfile (limited to 'base/pkg-get/Pkgfile') diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile new file mode 100644 index 000000000..7fa207258 --- /dev/null +++ b/base/pkg-get/Pkgfile @@ -0,0 +1,29 @@ +# Description: Package management tool for CRUX Linux +# URL: http://www.varlock.com +# Maintainer: Simone Rota, sip at crux dot nu +# Packager: Simone Rota, sip at crux dot nu +# Depends on: + +name=pkg-get +version=0.4.5 +release=3 +source=(http://www.varlock.com/files/$name-$version.tar.gz \ + $name.patch pkg-get.conf syn) + +build() { +ARCH_=`uname -m` + cd $name-$version + patch -p1 < ../$name.patch + make PREFIX=$PKG/usr CFGDIR=$PKG/etc install + install -m 755 ../syn $PKG/usr/bin/syn + sed -i "s|CRUX Packages|Paquets NuTyX Architecture $ARCH_|g" $PKG/usr/bin/pkg-repgen + sed -i "s|Generated by|Généré par|g" $PKG/usr/bin/pkg-repgen + sed -i "s|Port|Nom|" $PKG/usr/bin/pkg-repgen + sed -i "s|Last modified|Dernière compilation|" $PKG/usr/bin/pkg-repgen + sed -i "s| package| paquet|g" $PKG/usr/bin/pkg-repgen + sed -i "s| on | le |" $PKG/usr/bin/pkg-repgen +install -m644 ../pkg-get.conf $PKG/etc/pkg-get.conf +sed -i "s/uname-m/$ARCH_/" $PKG/etc/pkg-get.conf +sed -i "s/uname-m/$ARCH_/" $PKG/usr/bin/syn +} + -- cgit v1.2.3-70-g09d2