### this file is sourced not run
PKGVER=0.29.2
PKGBUILD=1

TARBALL=pkg-config-$PKGVER.tar.gz
MD5SUM=f6e931e319531b736fadc017f470e68a
BUNDLE=fatdog-base-11.3.tar
SRC_URL=http://distro.ibiblio.org/fatdog/source/900/$BUNDLE

SLACKREQ=
SLACKDESC="pkg-config: pkg-config $PKGVER (package configuration tool)  
pkg-config:  
pkg-config: Pkg-config is a tool to help you insert the correct 
pkg-config: compiler options on the command line when compiling 
pkg-config: applications and libraries.  
pkg-config: 
pkg-config: This is the full version of pkg-config.
pkg-config: 
pkg-config: 
pkg-config: 
pkg-config:  
"
SLACKCONF=pkg-config-lite


### override download for LFS sources bundle
# $1-src-dir $2-tarball 
pkg_download() {
	echo downloading $BUNDLE for $TARBALL
	wget -P $1 $SRC_URL
	tar -xf $1/$BUNDLE --strip-components=1 -C $1 
	rm $1/$BUNDLE
}

### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS \
		--with-internal-glib \
		--disable-host-tool  \
		--docdir=/usr/share/doc/pkg-config-$PKGVER \
		--with-pc-path=/usr/share/pkgconfig \
	"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
