mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:07:14 +08:00
29 lines
860 B
Bash
29 lines
860 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libsamplerate
|
|
pkgver=0.1.7
|
|
pkgrel=2
|
|
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.mega-nerd.com/SRC/index.html"
|
|
license=('GPL')
|
|
depends=('libsndfile' 'flac')
|
|
options=('!libtool')
|
|
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
|
|
md5sums=('6731a81cb0c622c483b28c0d7f90867d')
|
|
sha1sums=('f3f803ec5feae5a3fdb0fa3937277669e854386e')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|