39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'libcaca'
|
|
pkgname=libcaca
|
|
version=0.99.beta19
|
|
revision=8
|
|
build_style=gnu-configure
|
|
hostmakedepends="libtool automake pkg-config"
|
|
short_desc="Graphics library that outputs text instead of pixels"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
makedepends="ncurses-devel $(vopt_if x11 'libX11-devel imlib2-devel')"
|
|
homepage="http://caca.zoy.org/wiki/libcaca"
|
|
license="WTFPL"
|
|
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
|
|
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
|
|
|
|
# package build options
|
|
build_options="x11"
|
|
|
|
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() {
|
|
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
|
|
}
|
|
}
|