From 173c37af03e851945c9467e24747d66f94a9cd1b Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 26 Mar 2013 13:28:59 +0100 Subject: [PATCH] libcaca: fix license and crosscompilation --- srcpkgs/libcaca/template | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index 101481449ba..70c1aded2a7 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -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 " 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