# Description: Librairies pour ALSA (Architecture de sons avancée pour Linux) # URL: http://www.alsa-project.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: # Run on: name=alsa-lib version=1.0.25 release=1 source=(ftp://ftp.alsa-project.org/pub/lib/$name-$version.tar.bz2 asound.conf) build() { cd $name-$version ./configure --prefix=/usr \ --disable-aload \ --disable-alisp \ --with-plugindir=/usr/lib/alsa-lib \ --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" \ --with-pythonincludes=-I/usr/include/python2.7 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make make DESTDIR=$PKG install mkdir -p -m 755 $PKG/etc install -p -m 644 ../asound.conf $PKG/etc }