new package: add package 'libsndfile'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-25 04:16:34 +02:00
parent 944e96e3be
commit 587ceceaf7
3 changed files with 38 additions and 0 deletions

18
packages/audio/libsndfile/build Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
. config/options $1
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-static \
--enable-shared \
--disable-sqlite \
--enable-alsa \
--disable-external-libs \
make -C src
cp sndfile.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
$MAKEINSTALL -C src

View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib

View File

@ -0,0 +1,14 @@
PKG_NAME="libsndfile"
PKG_VERSION="1.0.21"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.mega-nerd.com/libsndfile/"
PKG_URL="http://www.mega-nerd.com/$PKG_NAME/files/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="alsa-lib"
PKG_BUILD_DEPENDS="toolchain alsa-lib"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libsndfile: A library for accessing various audio file formats"
PKG_LONGDESC="libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32."
PKG_IS_ADDON="no"