Commit | Line | Data |
---|---|---|
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 | |
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 | } |