void-packages/srcpkgs/libgta/template
Jürgen Buchmüller 5ba60c8eef New package: libgta-1.0.7
Generic Tagged Arrays
2015-10-31 09:37:01 +01:00

30 lines
820 B
Bash

# Template file for 'libgta'
pkgname=libgta
version=1.0.7
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="bzip2-devel liblzma-devel zlib-devel"
short_desc="Generic Tagged Arrays"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1"
homepage="http://gta.nongnu.org"
distfiles="${NONGNU_SITE}/gta/${pkgname}-${version}.tar.xz"
checksum=85763f6b1a223d89e4ac000f5048d1d5bcd39b315192bca4e123fd89c24a0db5
post_install() {
# Also install the cmake find script
vinstall cmake/FindGTA.cmake 644 usr/lib/cmake/GTA
}
libgta-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}