summaryrefslogtreecommitdiffstats
path: root/base/prt-get/Pkgfile
blob: 367fcc307c4953f464d9babae72f762a7204771f (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
25
26
27
# Description: Outil indispensable pour l'installation et la recherches des ports
# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: pkgutils

name=prt-get
version=5.16
release=3
source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
	prt-get-$version-printf_regex.diff
	prt-get.conf prt-get.aliases)

build() {
    cd ${name}-${version}
    patch -p1 -i $SRC/prt-get-$version-printf_regex.diff

    ./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
}