wok annotate mhwaveedit/receipt @ rev 16282
arm: add galculator & mhwaveedit
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 06 16:22:52 2014 +0200 (2014-04-06) |
parents | 1f6a5f56e3b6 |
children | eeba7ab1dffe |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="mhwaveedit" |
devl547@16224 | 4 VERSION="1.4.23" |
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" |
pankso@12404 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12404 | 10 WEB_SITE="https://gna.org/projects/mhwaveedit/" |
pankso@12404 | 11 WGET_URL="http://download.gna.org/mhwaveedit/$TARBALL" |
pankso@16282 | 12 HOST_ARCH="i486 arm" |
pankso@12404 | 13 |
pascal@2464 | 14 DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \ |
pascal@2464 | 15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
pankso@3961 | 16 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
pankso@3961 | 17 xorg-libXdamage" |
pankso@16282 | 18 BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev" |
pankso@292 | 19 |
pankso@292 | 20 # Rules to configure and make the package. |
pankso@292 | 21 compile_rules() |
pankso@292 | 22 { |
pankso@292 | 23 chmod +x install-sh |
pankso@3961 | 24 ./configure \ |
pankso@3961 | 25 --prefix=/usr \ |
pankso@3961 | 26 --without-sdl \ |
pankso@3961 | 27 --without-libsamplerate \ |
pankso@3961 | 28 --without-portaudio \ |
pankso@3983 | 29 --without-libsndfile \ |
pankso@4325 | 30 --without-esound \ |
pankso@3961 | 31 $CONFIGURE_ARGS && |
pascal@1511 | 32 make && |
slaxemulator@11643 | 33 make DESTDIR=$DESTDIR install |
pankso@292 | 34 } |
pankso@292 | 35 |
pankso@292 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 37 genpkg_rules() |
pankso@292 | 38 { |
pankso@12404 | 39 mkdir -p $fs/usr $fs/etc |
pankso@12404 | 40 cp -a $install/usr/bin $fs/usr |
pankso@12404 | 41 cp -a $stuff/skel $fs/etc |
pankso@12404 | 42 chown -R 0.0 $fs |
pankso@292 | 43 } |