diff options
Diffstat (limited to 'alsa-lib/Pkgfile')
-rwxr-xr-x | alsa-lib/Pkgfile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/alsa-lib/Pkgfile b/alsa-lib/Pkgfile index c879a7bb4..48366a562 100755 --- a/alsa-lib/Pkgfile +++ b/alsa-lib/Pkgfile @@ -6,19 +6,26 @@ # Run on: name=alsa-lib -version=1.0.24.1 +version=1.0.25 release=1 -source=(ftp://ftp.alsa-project.org/pub/lib/$name-$version.tar.bz2) +source=(ftp://ftp.alsa-project.org/pub/lib/$name-$version.tar.bz2 + asound.conf) build() { - unset MAKEFLAGS cd $name-$version ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-static \ - --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7 + --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 } - |