40 lines
975 B
Bash
40 lines
975 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="Orphaned <orphan@voidlinux.org>"
|
|
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
|
|
}
|
|
}
|