45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Template file for 'pkgconf'
|
|
pkgname=pkgconf
|
|
version=1.9.3
|
|
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.dereferenced.org/pkgconf/pkgconf-${version}.tar.xz"
|
|
checksum=5fb355b487d54fb6d341e4f18d4e2f7e813a6622cf03a9e87affa6a40565699d
|
|
|
|
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"
|
|
}
|
|
}
|