CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / prt-get / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: A utility to simplify ports searching/installing
2# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5
6name=prt-get
a323066a 7version=5.18
6dca1d21
JB
8release=2
9source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
a323066a 10 prt-get.conf prt-get.aliases prt-get.diff)
6dca1d21
JB
11
12build() {
13 cd ${name}-${version}
a323066a 14 patch -p1 -i $SRC/$name.diff
6dca1d21
JB
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man
a323066a
VM
20 make
21 make DESTDIR=$PKG install
6dca1d21 22
a323066a
VM
23 install -m 644 $SRC/prt-get.conf $PKG/etc/
24 install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
6dca1d21 25}