28 lines
648 B
Plaintext
28 lines
648 B
Plaintext
# Description: Library for manipulating sound files.
|
|
# URL: http://www.mega-nerd.com/libsndfile
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: flac-32 alsa-lib-32 libvorbis-32 libsndfile
|
|
|
|
name=libsndfile-32
|
|
version=1.0.25
|
|
release=2
|
|
source=(http://www.mega-nerd.com/libsndfile/files/libsndfile-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libsndfile-$version
|
|
|
|
export GETCONF="getconf -v POSIX_V7_ILP32_OFFBIG"
|
|
export GETCONF_DIR="/usr/lib32/getconf"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--mandir=/usr/man \
|
|
--disable-static
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,man,include,share}
|
|
}
|