libcaca: fix license and crosscompilation

This commit is contained in:
pancake 2013-03-26 13:28:59 +01:00
parent 0ce06dcb0a
commit 173c37af03

View file

@ -1,13 +1,22 @@
# Template file for 'libcaca'
pkgname=libcaca
version=0.99.beta18
revision=1
revision=2
build_style=gnu-configure
subpackages="${pkgname}-devel"
short_desc="Graphics library that outputs text instead of pixels"
maintainer="pancake <pancake@nopcode.org>"
makedepends="ncurses-devel"
homepage="http://caca.zoy.org/wiki/libcaca"
license="LGPL"
license="WTFPL"
distfiles="http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz"
checksum=77ea06633f4a6022dccd4f76c1823e167a40cb05308fc1c7ea0fa1f80f6c33a1
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="libtool automake pkg-config"
pre_configure() {
mv configure.ac configure.ac.orig
sed -e s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS, configure.ac.orig > configure.ac
autoreconf -fi
}
fi