2013-03-20 11:49:53 +00:00
|
|
|
# Template file for 'aalib'
|
|
|
|
pkgname=aalib
|
|
|
|
version=1.4rc4
|
2014-06-04 11:53:15 +00:00
|
|
|
revision=4
|
2013-04-12 06:55:23 +00:00
|
|
|
wrksrc="aalib-1.4.0"
|
2013-03-20 11:49:53 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-28 08:57:52 +00:00
|
|
|
hostmakedepends="automake libtool"
|
2013-03-20 13:29:02 +00:00
|
|
|
short_desc="Portable ASCII art GFX library"
|
2014-06-04 11:53:15 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-20 11:49:53 +00:00
|
|
|
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 13:40:31 +00:00
|
|
|
|
2014-02-28 08:57:52 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
2014-06-04 11:53:15 +00:00
|
|
|
aalib-utils_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man/man1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
aalib-devel_package() {
|
2014-02-28 08:57:52 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/aalib-config
|
|
|
|
vmove usr/include
|
2014-06-04 11:53:15 +00:00
|
|
|
vmove usr/share/info
|
2013-04-12 06:55:23 +00:00
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-28 08:57:52 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 06:55:23 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|