libcaca: fix license and crosscompilation
This commit is contained in:
@@ -1,13 +1,22 @@
|
|||||||
# Template file for 'libcaca'
|
# Template file for 'libcaca'
|
||||||
pkgname=libcaca
|
pkgname=libcaca
|
||||||
version=0.99.beta18
|
version=0.99.beta18
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
subpackages="${pkgname}-devel"
|
subpackages="${pkgname}-devel"
|
||||||
short_desc="Graphics library that outputs text instead of pixels"
|
short_desc="Graphics library that outputs text instead of pixels"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
homepage="http://caca.zoy.org/wiki/libcaca"
|
homepage="http://caca.zoy.org/wiki/libcaca"
|
||||||
license="LGPL"
|
license="WTFPL"
|
||||||
distfiles="http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz"
|
distfiles="http://caca.zoy.org/files/libcaca/libcaca-0.99.beta18.tar.gz"
|
||||||
checksum=77ea06633f4a6022dccd4f76c1823e167a40cb05308fc1c7ea0fa1f80f6c33a1
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user