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
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5
6 name=prt-get
7 version=5.18
8 release=2
9 source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
10 prt-get.conf prt-get.aliases prt-get.diff)
11
12 build() {
13 cd ${name}-${version}
14 patch -p1 -i $SRC/$name.diff
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man
20 make
21 make DESTDIR=$PKG install
22
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
25 }