void-packages/srcpkgs/aalib/template

41 lines
984 B
Plaintext

# Template file for 'aalib'
pkgname=aalib
version=1.4rc4
revision=4
wrksrc="aalib-1.4.0"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Portable ASCII art GFX library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://aa-project.sourceforge.net/aalib/"
license="LGPL"
distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz"
checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
autoreconf -fi
}
aalib-utils_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
}
}
aalib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/aalib-config
vmove usr/include
vmove usr/share/info
vmove usr/share/aclocal
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}