void-packages/srcpkgs/libtickit/template

35 lines
1009 B
Bash

# Template file for 'libtickit'
pkgname=libtickit
version=0.3
revision=1
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=5fe653c71681d696910b201b1d0aa7b1b83a4209283b68d99138e30df6a4f7de
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"
}
}