void-packages/srcpkgs/sbc/template

24 lines
696 B
Bash

# Template file for 'sbc'
pkgname=sbc
version=1.4
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="Juan RP <xtraeme@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=518bf46e6bb3dc808a95e1eabad26fdebe8a099c1e781c27ed7fca6c2f4a54c9
sbc-devel_package() {
depends="sbc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}