void-packages/srcpkgs/libvisual/template

27 lines
777 B
Bash

# Template file for 'libvisual'
pkgname=libvisual
version=0.4.0
revision=9
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Abstraction library for audio visualisation plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://sourceforge.net/projects/libvisual/"
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"
}
}