void-packages/srcpkgs/liblo/template

28 lines
690 B
Bash

# Template file for 'liblo'
pkgname=liblo
version=0.30
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6"
short_desc="Lightweight OSC implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://liblo.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=30a7c9de49a25ed7f2425a7a7415f5b14739def62431423d3419ea26fb978d1b
nopie=yes
pre_configure() {
vsed -i '/-Werror/d' configure
}
liblo-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}