blob: bf2384cd222f39160f37785b722394f38e4ccc98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Description: Outil de gestion de paquets binaires pour NuTyX
# URL: http://www.varlock.com et nutyx.org
# Maintainer: thierryn1 at hispeed dot ch
# Packager: thierryn1 at hispeed dot ch
name=pkg-get
version=0.5.0
release=1
source=(http://kiao.no-ip.info/NuTyX/files/$name-$version.tar.gz \
pkg-get.conf syn)
build() {
ARCH_=`uname -m`
cd $name-$version
make PREFIX=$PKG/usr CFGDIR=$PKG/etc install
mkdir -p $PKG/usr/share
mv $PKG/usr/{man,share/man}
install -m 755 ../syn $PKG/usr/bin/syn
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
}
|