29 lines
797 B
Bash
29 lines
797 B
Bash
# Template file for 'librttopo'
|
|
pkgname=librttopo
|
|
version=1.1.0
|
|
revision=1
|
|
wrksrc=$pkgname
|
|
build_style=gnu-configure
|
|
hostmakedepends="which autoconf automake libtool geos-devel"
|
|
makedepends="geos-devel"
|
|
short_desc="RT Topology Library"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://git.osgeo.org/gitea/rttopo/librttopo"
|
|
distfiles="https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-$version.tar.gz"
|
|
checksum=2e2fcabb48193a712a6c76ac9a9be2a53f82e32f91a2bc834d9f1b4fa9cd879f
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
librttopo-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|