diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 22:17:18 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 22:17:18 +0200 |
commit | fbda6ec65f50014ab4e2c773c90992c2ff7f51b8 (patch) | |
tree | 41cadb408d9523add246a0225c1193b4907ce059 /base/pkg-get/Pkgfile | |
parent | f302f5b8f38633e35758a625c2574bc186ee8476 (diff) | |
download | nutyx-extra-fbda6ec65f50014ab4e2c773c90992c2ff7f51b8.tar.gz nutyx-extra-fbda6ec65f50014ab4e2c773c90992c2ff7f51b8.tar.bz2 nutyx-extra-fbda6ec65f50014ab4e2c773c90992c2ff7f51b8.tar.xz nutyx-extra-fbda6ec65f50014ab4e2c773c90992c2ff7f51b8.zip |
Ajout de pkg-get#0.4.5-3
Diffstat (limited to 'base/pkg-get/Pkgfile')
-rw-r--r-- | base/pkg-get/Pkgfile | 29 |
1 files changed, 29 insertions, 0 deletions
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 +} + |