mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
35 lines
716 B
Plaintext
35 lines
716 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsamplerate
|
|
pkgver=0.1.8
|
|
pkgrel=0
|
|
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
|
|
url="http://www.mega-nerd.com/SRC/index.html"
|
|
subpackages="$pkgname-dev"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=""
|
|
source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build () {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
md5sums="1c7fb25191b4e6e3628d198a66a84f47 libsamplerate-0.1.8.tar.gz"
|