void-packages/srcpkgs/libcaca/template

36 lines
936 B
Text
Raw Normal View History

2013-03-26 11:43:28 +00:00
# Template file for 'libcaca'
pkgname=libcaca
version=0.99.beta18
revision=6
2013-03-26 11:43:28 +00:00
build_style=gnu-configure
2014-02-28 09:00:00 +00:00
hostmakedepends="libtool automake pkg-config"
2013-03-26 11:43:28 +00:00
short_desc="Graphics library that outputs text instead of pixels"
2014-02-28 09:00:00 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
2013-03-26 11:43:28 +00:00
makedepends="ncurses-devel"
homepage="http://caca.zoy.org/wiki/libcaca"
license="WTFPL"
2013-03-26 11:43:28 +00:00
distfiles="http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz"
checksum=77ea06633f4a6022dccd4f76c1823e167a40cb05308fc1c7ea0fa1f80f6c33a1
2014-02-28 09:00:00 +00:00
pre_configure() {
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
autoreconf -fi
}
post_install() {
rm -f ${DESTDIR}/usr/lib/*.la
}
libcaca-devel_package() {
2014-02-28 09:00:00 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/caca-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man1/caca-config.1
}
}