mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
32 lines
869 B
Bash
32 lines
869 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.25
|
|
pkgrel=3
|
|
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=('e2b7bb637e01022c7d20f95f9c3990a2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --disable-sqlite
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|