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 | |
5cd724ef VM |
7 | version=5.19.1 |
8 | release=1 | |
9 | source=(http://crux.nu/files/prt-get-$version.tar.xz | |
9bc31e77 | 10 | prt-get.conf prt-get.aliases) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd ${name}-${version} | |
6dca1d21 JB |
14 | |
15 | ./configure --build=$CHOST \ | |
16 | --host=$CTARGET \ | |
9492020b VM |
17 | --prefix=/usr |
18 | ||
a323066a VM |
19 | make |
20 | make DESTDIR=$PKG install | |
6dca1d21 | 21 | |
a323066a VM |
22 | install -m 644 $SRC/prt-get.conf $PKG/etc/ |
23 | install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases | |
6dca1d21 | 24 | } |