summaryrefslogtreecommitdiffstats
path: root/prt-get/Pkgfile
blob: 51612916bede8b77ba7c879284f5aa5fd2c47a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
description="A utility to simplify ports searching/installing."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://jw.smts.ch/files/crux/prt-get_quickstart.html"
depends=()

name=prt-get
version=5.18
release=2
source=(http://jw.smts.ch/files/crux/$name-$version.tar.gz prt-get.conf prt-get.aliases prt-get.diff)
build () 
{ 
	cd ${name}-${version};
	patch -p1 -i $SRC/$name.diff;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir;
	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
}