diff --git a/main/libresample/APKBUILD b/main/libresample/APKBUILD index cfa4f9995d8..1bfe1a18149 100644 --- a/main/libresample/APKBUILD +++ b/main/libresample/APKBUILD @@ -2,43 +2,30 @@ # Maintainer: pkgname=libresample pkgver=0.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="real-time library for sampling rate conversion" url="https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html" arch="all" -license="GPL" -depends= -makedepends="wget" -install= -subpackages= +license="LGPL-2.1-only" source="https://ccrma.stanford.edu/~jos/gz/libresample-$pkgver.tgz" # append extra dependencies to -dev subpackage # remove if not used. # depends_dev="somepackage-dev" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} build() { - cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make } package() { - cd "$_builddir" install -d "$pkgdir"/usr/include "$pkgdir"/usr/lib install -m644 include/libresample.h "$pkgdir"/usr/include/ install -m644 libresample.a "$pkgdir"/usr/lib/