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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | |
6 | name=prt-get | |
a323066a | 7 | version=5.18 |
88ebab44 | 8 | release=3 |
6dca1d21 | 9 | source=(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 | |
12 | build() { | |
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 | } |