void-packages/srcpkgs/liblo/template
Enno Boland 0c2aa40db4 liblo: enable nopie.
ac_fn_c_try_link fails in configure due to the hardening flags.
2016-02-28 20:45:14 +01:00

27 lines
691 B
Bash

# Template file for 'liblo'
pkgname=liblo
version=0.28
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6"
short_desc="Lightweight OSC implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://plugin.org.uk/liblo/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909
nopie=yes
pre_configure() {
sed -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"
}
}