CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
d0a76e5ce5715b3070c2abb51d0a5def1cb301d0
[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, crux-arm at mikeux dot dyndns dot org
5
6 name=prt-get
7 version=5.16
8 release=2
9 source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
10 prt-get-$version-printf_regex.diff
11 prt-get.conf prt-get.aliases)
12
13 build() {
14 cd ${name}-${version}
15 patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
16
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr \
20 --mandir=/usr/man
21 make
22 make DESTDIR=$PKG install
23
24 install -m 644 $SRC/prt-get.conf $PKG/etc/
25 install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
26 }