pkgconf: prepare for replacing pkg-config

* libpkgconf is removed.
* pkgconf-devel package is removed
* remove libtool from hostmakedependencies
This commit is contained in:
Enno Boland 2018-10-04 10:09:26 +02:00 committed by Enno Boland
parent 3f0f88ef66
commit 3ae257df05
2 changed files with 7 additions and 20 deletions

View file

@ -1 +0,0 @@
pkgconf

View file

@ -1,32 +1,20 @@
# 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"
revision=2
short_desc="Provides compiler and linker configuration"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="https://git.dereferenced.org/pkgconf/pkgconf"
build_style=gnu-configure # cmake and meson also available
configure_args="--disable-shared --disable-static"
checkdepends="kyua"
changelog="https://git.dereferenced.org/pkgconf/pkgconf/raw/branch/master/NEWS"
distfiles="https://distfiles.dereferenced.org/pkgconf/${pkgname}-${version}.tar.xz"
checksum=9c5864a4e08428ef52f05a41c948529555458dec6d283b50f8b7d32463c54664
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"
}
rm -r $DESTDIR/usr/include
ln -sr $DESTDIR/usr/bin/pkgconf $DESTDIR/usr/bin/pkg-config
}