# SliTaz package receipt. PACKAGE="ggseq" VERSION="0.3.1" CATEGORY="multimedia" SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://ggseq.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="wxWidgets28 libsndfile libsamplerate" BUILD_DEPENDS="wxWidgets28-dev libsndfile-dev libsamplerate-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/ggseq/files/ggseq/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/ggseq/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }