# SliTaz package receipt. PACKAGE="alsa-plugins" VERSION="1.2.6" CATEGORY="multimedia" SHORT_DESC="Alsa sound system additional plugins." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://www.alsa-project.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.alsa-project.org/pub/plugins/$TARBALL" DEPENDS="alsa-lib libsamplerate speex" BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev pkg-config speex-dev" current_version() { wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ sed '/alsa-plugins-/!d;s|.*alsa-plugins-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/alsa-lib cp -a $install/usr/lib/alsa-lib/*.so $fs/usr/lib/alsa-lib }