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