void-packages/srcpkgs/aalib/template
2017-07-20 00:05:25 +02:00

40 lines
974 B
Bash

# Template file for 'aalib'
pkgname=aalib
version=1.4rc5
revision=1
wrksrc="aalib-1.4.0"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Portable ASCII art GFX library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://aa-project.sourceforge.net/aalib/"
license="LGPL-2"
distfiles="${SOURCEFORGE_SITE}/aa-project/${pkgname}-${version}.tar.gz"
checksum=fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
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
}
}