diff --git a/packages/audio/alsa-lib/build b/packages/audio/alsa-lib/build index 984edd7348..83b5aa443d 100755 --- a/packages/audio/alsa-lib/build +++ b/packages/audio/alsa-lib/build @@ -2,8 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain - CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32 -fPIC -DPIC" cd $PKG_BUILD @@ -12,7 +10,7 @@ cd $PKG_BUILD --build=$HOST_NAME \ --prefix=/usr \ --sysconfdir=/etc \ - --with-plugindir=/usr/lib \ + --with-plugindir=/usr/lib/alsa \ --localstatedir=/var \ --disable-static \ --enable-shared \ diff --git a/packages/audio/alsa-lib/install b/packages/audio/alsa-lib/install index 665ff9db02..e243994553 100755 --- a/packages/audio/alsa-lib/install +++ b/packages/audio/alsa-lib/install @@ -6,7 +6,9 @@ add_group audio 63 mkdir -p $INSTALL/usr/lib cp -PR $PKG_BUILD/src/.libs/libasound.so* $INSTALL/usr/lib - cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib + +mkdir -p $INSTALL/usr/lib/alsa + cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa mkdir -p $INSTALL/usr/share/alsa sed 's%~/\.asoundrc%/storage/\.config/asound.conf%' \ diff --git a/packages/audio/alsa-lib/meta b/packages/audio/alsa-lib/meta new file mode 100644 index 0000000000..872b55a507 --- /dev/null +++ b/packages/audio/alsa-lib/meta @@ -0,0 +1,14 @@ +PKG_NAME="alsa-lib" +PKG_VERSION="1.0.23" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.alsa-project.org/" +PKG_URL="ftp://ftp.alsa-project.org/pub/lib/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="audio" +PKG_SHORTDESC="alsa-lib: Advanced Linux Sound Architecture library" +PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux." +PKG_IS_ADDON="no" diff --git a/packages/audio/alsa-lib/url b/packages/audio/alsa-lib/url deleted file mode 100644 index 413aeddb14..0000000000 --- a/packages/audio/alsa-lib/url +++ /dev/null @@ -1 +0,0 @@ -ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2