void-packages/srcpkgs/sbc/template

25 lines
696 B
Bash

# Template file for 'sbc'
pkgname=sbc
version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-pie --disable-static"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="Bluetooth Subband Codec (SBC) library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://www.bluez.org/"
distfiles="${KERNEL_SITE}/bluetooth/${pkgname}-${version}.tar.xz"
checksum=8f12368e1dbbf55e14536520473cfb338c84b392939cc9b64298360fd4a07992
sbc-devel_package() {
depends="sbc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}