void-packages/srcpkgs/pkg-config/template
2013-02-28 13:40:40 +01:00

23 lines
859 B
Text

# Template build file for 'pkg-config'
pkgname=pkg-config
version=0.28
revision=2
build_style=gnu-configure
configure_args="--with-internal-glib --disable-host-tool"
short_desc="System for managing library compile/link flags"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pkgconfig.freedesktop.org/wiki/"
license="GPL-2"
distfiles="http://pkgconfig.freedesktop.org/releases/$pkgname-$version.tar.gz"
checksum=6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845
if [ -n "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} glib_cv_long_long_format=I64
glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no
glib_cv_uscore=no blib_cv_use_pid_surrogate=yes
ac_cv_func_vsnprintf_c99=yes
ac_cv_func_printf_unix98=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes"
fi