aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sbc
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/sbc
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/sbc')
-rw-r--r--unmaintained/sbc/APKBUILD57
1 files changed, 57 insertions, 0 deletions
diff --git a/unmaintained/sbc/APKBUILD b/unmaintained/sbc/APKBUILD
new file mode 100644
index 0000000000..87916aef4a
--- /dev/null
+++ b/unmaintained/sbc/APKBUILD
@@ -0,0 +1,57 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=sbc
+pkgver=1.3
+pkgrel=0
+pkgdesc="Bluetooth Subband Codec (SBC) library"
+url="http://www.bluez.org/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev="libsndfile-dev"
+makedepends="$depends_dev linux-headers"
+install=""
+subpackages="$pkgname-dev $pkgname-utils"
+source="http://www.kernel.org/pub/linux/bluetooth/sbc-$pkgver.tar.xz"
+
+_builddir="$srcdir"/sbc-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+utils() {
+ pkgdesc="sbc utilities"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin \
+ "$subpkgdir"/usr/ || return 1
+}
+
+md5sums="2d8b7841f2c11ab287718d562f2b981c sbc-1.3.tar.xz"
+sha256sums="e61022cf576f14190241e7071753fdacdce5d1dea89ffd704110fc50be689309 sbc-1.3.tar.xz"
+sha512sums="c11cb1ede8abdb226d404ce34307d217b716b91cbe550ed90cb5387b062b7b97a6b7a81371de6f462d8c1429cb3299869a1bda347fa175e9d81cfa2bc2056c8b sbc-1.3.tar.xz"