void-packages/srcpkgs/libvisual/template

29 lines
813 B
Bash

# Template file for 'libvisual'
pkgname=libvisual
version=0.4.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config SDL-devel"
makedepends="SDL-devel"
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=aa12877417f76d3642d9f4c723302380d833175639d63a55641d01928a5ddb7d
pre_configure() {
vsed -e 's,-L$(libdir),,' -i libvisual/Makefile.in
vsed -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"
}
}