wok-current annotate mhwaveedit/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents c4940b97a5cf
children 3ad63c8fc2f9
rev   line source
pankso@292 1 # SliTaz package receipt.
pankso@292 2
pankso@292 3 PACKAGE="mhwaveedit"
Hans-G?nter@21435 4 VERSION="1.4.24"
pankso@292 5 CATEGORY="multimedia"
pankso@292 6 SHORT_DESC="Lightweight sound files editor, recorder and player."
pankso@292 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@20674 9 WEB_SITE="https://github.com/magnush/mhwaveedit/"
Hans-G?nter@21435 10
Hans-G?nter@21435 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21435 12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
pankso@12404 13
pascal@2464 14 DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \
Hans-G?nter@21435 15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
Hans-G?nter@21435 16 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
Hans-G?nter@21435 17 xorg-libXdamage"
pankso@16282 18 BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev"
pankso@292 19
Hans-G?nter@21435 20 HOST_ARCH="i486 arm"
Hans-G?nter@21435 21
pascal@24071 22 current_version()
pascal@24071 23 {
pascal@24071 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24071 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24071 26 }
pascal@24071 27
pankso@292 28 # Rules to configure and make the package.
pankso@292 29 compile_rules()
pankso@292 30 {
pankso@292 31 chmod +x install-sh
Hans-G?nter@21435 32 ./configure \
Hans-G?nter@21435 33 --prefix=/usr \
Hans-G?nter@21435 34 --without-sdl \
Hans-G?nter@21435 35 --without-libsamplerate \
Hans-G?nter@21435 36 --without-portaudio \
Hans-G?nter@21435 37 --without-libsndfile \
Hans-G?nter@21435 38 --without-esound \
pankso@3961 39 $CONFIGURE_ARGS &&
Hans-G?nter@21435 40 make -j 1 &&
slaxemulator@11643 41 make DESTDIR=$DESTDIR install
pankso@292 42 }
pankso@292 43
pankso@292 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@292 45 genpkg_rules()
pankso@292 46 {
Hans-G?nter@21435 47 mkdir -p $fs/usr
Hans-G?nter@21435 48 mkdir -p $fs/etc
Hans-G?nter@21435 49
Hans-G?nter@21435 50 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21435 51 cp -a $stuff/skel $fs/etc
pankso@12404 52 chown -R 0.0 $fs
pankso@292 53 }