summaryrefslogtreecommitdiffstats
path: root/pkg-config/Pkgfile
blob: f9c6f5021448eea575c16ab8aec85e4822bd24ea (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 system for managing library compile/link flags."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
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=$prefix --mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
	# Kept from Crux. Why not ? \o/
	rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html;
	rmdir $PKG/usr/share/doc/{pkg-config,}
}