void-packages/srcpkgs/liblo/template
2020-03-07 10:40:29 +01:00

27 lines
690 B
Bash

# Template file for 'liblo'
pkgname=liblo
version=0.31
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=2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750
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"
}
}