45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Template file for 'pkgconf'
|
|
pkgname=pkgconf
|
|
version=2.1.0
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure # cmake and meson also available
|
|
checkdepends="kyua"
|
|
short_desc="Provides compiler and linker configuration"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://pkgconf.org/"
|
|
changelog="https://raw.githubusercontent.com/pkgconf/pkgconf/master/NEWS"
|
|
distfiles="https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz"
|
|
checksum=266d5861ee51c52bc710293a1d36622ae16d048d71ec56034a02eb9cf9677761
|
|
|
|
alternatives="
|
|
pkg-config:pkg-config:/usr/bin/pkgconf
|
|
pkg-config:pkg-config.1:/usr/share/man/man1/pkgconf.1
|
|
pkg-config:pkg.m4:/usr/share/aclocal/pkg.m4.pkgconf"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
|
|
# Suffix file that conflicts with pkg-config
|
|
mv ${DESTDIR}/usr/share/aclocal/pkg.m4{,.pkgconf}
|
|
}
|
|
|
|
libpkgconf_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
pkgconf-devel_package() {
|
|
depends="libpkgconf>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|