void-packages/srcpkgs/libvisual/template
2017-10-26 14:09:25 +02:00

27 lines
768 B
Bash

# Template file for 'libvisual'.
pkgname=libvisual
version=0.4.0
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Abstraction library for audio visualisation plugins"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://sourceforge.net/projects/libvisual/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7
pre_configure() {
sed -e 's,-L$(libdir),,' -i libvisual/Makefile.in
sed -e 's,i*86),i*86*),' -i configure
}
libvisual-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}