wok annotate ggseq/receipt @ rev 25547
Up utftpd (0.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 12:22:34 2023 +0000 (20 months ago) |
parents | 932cd974e081 |
children | 6b33f9da53d4 |
rev | line source |
---|---|
pascal@11222 | 1 # SliTaz package receipt. |
pascal@11222 | 2 |
pascal@11222 | 3 PACKAGE="ggseq" |
pascal@11222 | 4 VERSION="0.3.1" |
pascal@11222 | 5 CATEGORY="multimedia" |
pascal@11222 | 6 SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer." |
pascal@11222 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11222 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://ggseq.sourceforge.net/" |
pascal@11222 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11222 | 12 |
al@18521 | 13 DEPENDS="wxWidgets28 libsndfile libsamplerate" |
al@18521 | 14 BUILD_DEPENDS="wxWidgets28-dev libsndfile-dev libsamplerate-dev" |
pascal@15000 | 15 |
pascal@24403 | 16 # What is the latest version available today? |
pascal@24403 | 17 current_version() |
pascal@24403 | 18 { |
pascal@24403 | 19 wget -O - https://sourceforge.net/projects/ggseq/files/ggseq/ 2>/dev/null | \ |
pascal@24403 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 21 sed '/scope="row/!d;s|.*/ggseq/||;s|/.*||;q' |
pascal@24403 | 22 } |
pascal@24403 | 23 |
pascal@11222 | 24 # Rules to configure and make the package. |
pascal@11222 | 25 compile_rules() |
pascal@11222 | 26 { |
pascal@11222 | 27 sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h |
pascal@11222 | 28 ./configure \ |
pascal@11222 | 29 --prefix=/usr \ |
pascal@11222 | 30 --infodir=/usr/share/info \ |
pascal@11222 | 31 --mandir=/usr/share/man \ |
pascal@11222 | 32 $CONFIGURE_ARGS && |
pascal@15000 | 33 make && make DESTDIR=$DESTDIR install |
pascal@11222 | 34 } |
pascal@11222 | 35 |
pascal@11222 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 37 genpkg_rules() |
pascal@11222 | 38 { |
pascal@11222 | 39 mkdir -p $fs/usr |
pascal@15000 | 40 cp -a $install/usr/bin $fs/usr |
pascal@11222 | 41 } |