# SliTaz package receipt. PACKAGE="apulse" VERSION="0.1.13" CATEGORY="multimedia" SHORT_DESC="PulseAudio emulator for Alsa." MAINTAINER="psychomaniak@xakep.ru" LICENSE="MIT" WEB_SITE="https://github.com/i-rinat/apulse" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" SUGGESTED="skype" DEPENDS="alsa-lib glib pcre" BUILD_DEPENDS="alsa-lib-dev cmake glib-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { mkdir _build && cd _build && cmake .. \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_folders lib }