void-packages/srcpkgs/sbc/template
2021-04-17 17:09:09 -03:00

25 lines
714 B
Bash

# Template file for 'sbc'
pkgname=sbc
version=1.5
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=0cbad69823a99e8421fe0700e8cf9eeb8fa0c1ad28e8dbc2182b3353507931d2
patch_args="-Np1"
sbc-devel_package() {
depends="sbc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}