void-packages/srcpkgs/pkg-config/template

30 lines
893 B
Text
Raw Normal View History

# Template build file for 'pkg-config'
pkgname=pkg-config
2013-01-26 07:35:42 +00:00
version=0.28
2013-01-26 07:43:01 +00:00
revision=2
2012-08-25 05:38:07 +00:00
build_style=gnu-configure
2013-01-26 07:43:01 +00:00
configure_args="--with-internal-glib --disable-host-tool"
short_desc="System for managing library compile/link flags"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-08-25 05:38:07 +00:00
homepage="http://pkgconfig.freedesktop.org/wiki/"
license="GPL-2"
distfiles="http://pkgconfig.freedesktop.org/releases/$pkgname-$version.tar.gz"
2013-01-26 07:35:42 +00:00
checksum=6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845
2013-02-28 12:40:40 +00:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" glib_cv_long_long_format=I64
2013-02-28 12:40:40 +00:00
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
pkg-config_package() {
pkg_install() {
vmove usr
}
}