24 lines
686 B
Plaintext
24 lines
686 B
Plaintext
# Description: A utility to simplify ports searching/installing
|
|
# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
|
|
# Maintainer: Johannes Winkelmann, jw at smts dot ch
|
|
|
|
name=prt-get
|
|
version=5.14
|
|
release=2
|
|
source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
|
|
prt-get.conf prt-get.aliases prt-get-5.14-undecided-diffs.patch)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
patch src/prtget.cpp $SRC/prt-get-5.14-undecided-diffs.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -m 644 $SRC/prt-get.conf $PKG/etc/
|
|
install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases
|
|
}
|