void-packages/srcpkgs/libgta/template
2016-01-27 09:39:39 +01:00

30 lines
820 B
Bash

# Template file for 'libgta'
pkgname=libgta
version=1.0.8
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=1d2ff713955eee28310de082a8fd8e236403c27dee3716ba1238c56e6643e4fb
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
}
}