libvisual: move so symlinks to -devel pkg; cross build support.

This commit is contained in:
Juan RP 2013-11-27 11:15:48 +01:00
parent 48714a1bf6
commit 59461bbbf4

View file

@ -1,9 +1,9 @@
# Template file for 'libvisual'. # Template file for 'libvisual'.
pkgname=libvisual pkgname=libvisual
version=0.4.0 version=0.4.0
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
short_desc="Abstraction library for audio visualisation plugins" short_desc="Abstraction library for audio visualisation plugins"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -24,17 +24,22 @@ long_desc="
done by the application it also enables the developer to draw the visual done by the application it also enables the developer to draw the visual
anywhere he wants." anywhere he wants."
pre_configure() {
sed -e 's,-L$(libdir),,' -i libvisual/Makefile.in
}
libvisual-devel_package() { libvisual-devel_package() {
depends="libvisual-${version}_${revision}" depends="libvisual-${version}_${revision}"
short_desc+=" -- development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
} }
} }
libvisual_package() { libvisual_package() {
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }