summaryrefslogtreecommitdiffstats
path: root/pkg-config/Pkgfile
blob: d78cc1ac376f90633a3ba557f4d3697141ec2bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
description="A system for managing library compile/link flags"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://pkgconfig.freedesktop.org/wiki/"
depends=()

name=pkg-config
version=0.25
release=2
source=(http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz pkg-config.diff)
build () 
{ 
    cd $name-$version;
    patch -p1 -i $SRC/$name.diff;
    ./configure --prefix=/usr --mandir=/usr/man;
    make;
    make DESTDIR=$PKG install;
    rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html;
    rmdir $PKG/usr/share/doc/{pkg-config,}
}