25 lines
699 B
Plaintext
25 lines
699 B
Plaintext
# Description: A utility to simplify ports searching/installing
|
|
# URL: http://jw.tks6.net/files/crux/prt-get_quickstart.html
|
|
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
|
|
|
|
name=prt-get
|
|
version=0.5.11
|
|
release=5
|
|
source=(http://jw.tks6.net/files/crux/prt-get-$version.tar.gz \
|
|
prt-get.conf prt-get.aliases \
|
|
prt-get-0.5.11-deptree-alias.diff)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
patch -p1 < $SRC/prt-get-0.5.11-deptree-alias.diff
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -m 644 $SRC/prt-get.conf $PKG/etc/
|
|
|
|
# hacks
|
|
install -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
|
|
rm -r $PKG/var/lib/pkg/prt-get.deplist
|
|
}
|