aalib: move so symlinks to -devel pkg.

This commit is contained in:
Juan RP 2014-02-28 09:57:52 +01:00
parent aea911bc12
commit cc21152ea7
1 changed files with 9 additions and 10 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'aalib' # Template file for 'aalib'
pkgname=aalib pkgname=aalib
version=1.4rc4 version=1.4rc4
revision=2 revision=3
wrksrc="aalib-1.4.0" wrksrc="aalib-1.4.0"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Portable ASCII art GFX library" short_desc="Portable ASCII art GFX library"
maintainer="pancake <pancake@nopcode.org>" maintainer="pancake <pancake@nopcode.org>"
homepage="http://aa-project.sourceforge.net/aalib/" homepage="http://aa-project.sourceforge.net/aalib/"
@ -11,22 +12,20 @@ license="LGPL"
distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz" distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz"
checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58 checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58
if [ -n "$CROSS_BUILD" ]; then pre_configure() {
makedepends="libtool automake" sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
pre_configure() { autoreconf -fi
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in }
autoreconf -fi
}
fi
aalib-devel_package() { aalib-devel_package() {
depends="aalib>=${version}" depends="${sourcepkg}>=${version}_${revision}"
short_desc="${short_desc} - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin/aalib-config vmove usr/bin/aalib-config
vmove usr/include vmove usr/include
vmove usr/share/aclocal vmove usr/share/aclocal
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3 vmove usr/share/man/man3
} }
} }