aboutsummaryrefslogblamecommitdiffstats
path: root/main/libresample/APKBUILD
blob: 0c8289049d1e9b6a83be877fc3a42645b74c1834 (plain) (tree)
1
2
3
4
5
6
7
8



                   
        

                                                                            
          



















                                                                   



                                 

                                         

                                           











                                                                  
# Contributor: 
# Maintainer: 
pkgname=libresample
pkgver=0.1.3
pkgrel=1
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=
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
}

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/

}

md5sums="99bc5ea15ef76b83e5655a10968f674b  libresample-0.1.3.tgz"