void-packages/srcpkgs/pkgconf/template

33 lines
919 B
Bash

# Template file for 'pkgconf'
pkgname=pkgconf
version=1.5.3
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=d3468308553c94389dadfd10c4d1067269052b5364276a9d24a643c88485f715
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"
}
}