2013-03-20 12:49:53 +01:00
|
|
|
# Template file for 'aalib'
|
|
|
|
pkgname=aalib
|
|
|
|
version=1.4rc4
|
2013-03-20 14:29:02 +01:00
|
|
|
revision=2
|
2013-04-12 08:55:23 +02:00
|
|
|
wrksrc="aalib-1.4.0"
|
2013-03-20 12:49:53 +01:00
|
|
|
build_style=gnu-configure
|
2013-03-20 14:29:02 +01:00
|
|
|
short_desc="Portable ASCII art GFX library"
|
2013-03-20 12:49:53 +01:00
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
|
|
homepage="http://aa-project.sourceforge.net/aalib/"
|
|
|
|
license="LGPL"
|
|
|
|
distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58
|
2013-03-20 14:40:31 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
2013-04-12 08:55:23 +02:00
|
|
|
makedepends="libtool automake"
|
2013-03-20 14:40:31 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
aalib-devel_package() {
|
|
|
|
depends="aalib>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/aalib-config
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aalib_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|