mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
29 lines
906 B
Bash
29 lines
906 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=libsndfile
|
|
pkgver=1.0.24
|
|
pkgrel=1
|
|
pkgdesc="A C library for reading and writing files containing sampled sound"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.mega-nerd.com/libsndfile"
|
|
license=('LGPL')
|
|
depends=('alsa-lib' 'flac' 'libvorbis')
|
|
options=('!libtool')
|
|
source=(http://www.mega-nerd.com/libsndfile/files/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('8f823c30c1d8d44830db6ab845d6679e')
|
|
sha1sums=('ade2dad272b52f61bb58aca3a4004b28549ee0f8')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --disable-sqlite || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|