void-packages/srcpkgs/libgta/template

30 lines
764 B
Bash

# Template file for 'libgta'
pkgname=libgta
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="bzip2-devel liblzma-devel zlib-devel"
short_desc="Generic Tagged Arrays"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://marlam.de/gta/"
distfiles="https://marlam.de/gta/releases/libgta-${version}.tar.xz"
checksum=d445667e145f755f0bc34ac89b63a6bfdce1eea943f87ee7a3f23dc0dcede8b1
post_install() {
#examples only
rm -rf ${DESTDIR}/usr/share/doc
}
libgta-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}