void-packages/srcpkgs/libtickit/template

35 lines
1009 B
Bash

# Template file for 'libtickit'
pkgname=libtickit
version=0.2
revision=2
build_style=gnu-makefile
make_build_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
make_install_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
make_check_target=test
hostmakedepends="pkg-config"
makedepends="unibilium-devel libtermkey-devel libtool"
checkdepends="perl"
short_desc="Library for building interactive full-screen terminal programs"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://www.leonerd.org.uk/code/libtickit/"
distfiles="http://www.leonerd.org.uk/code/libtickit/libtickit-${version}.tar.gz"
checksum=88e1eaeb0fcd3a0f0bb0cac9cfdbb66a97fe358344c68024acb9b2da3bcb1320
post_install() {
vlicense LICENSE
}
libtickit-devel_package() {
depends="libtickit-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/man/man7
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}