void-packages/srcpkgs/pkgconf/template
2018-10-16 10:12:02 -03:00

32 lines
919 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.5.4
revision=1
conflicts="pkg-config"
build_style=gnu-configure # cmake and meson also available
hostmakedepends="libtool"
checkdepends="kyua"
short_desc="Provides compiler and linker configuration"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="https://git.dereferenced.org/pkgconf/pkgconf"
changelog="https://git.dereferenced.org/pkgconf/pkgconf/raw/branch/master/NEWS"
distfiles="https://distfiles.dereferenced.org/pkgconf/${pkgname}-${version}.tar.xz"
checksum=9c5864a4e08428ef52f05a41c948529555458dec6d283b50f8b7d32463c54664
post_install() {
vlicense COPYING
}
pkgconf-devel_package() {
depends="pkgconf-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
vmove usr/share/man/man7
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}