wok annotate audacity/receipt @ rev 5446

broadcom-wl: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 12:48:19 2010 +0200 (2010-05-05)
parents 395ec8205cff
children 44af3c127293
rev   line source
allan316@3200 1 # SliTaz package receipt.
allan316@3200 2
allan316@3200 3 PACKAGE="audacity"
slaxemulator@5357 4 VERSION="1.3.12"
allan316@3200 5 CATEGORY="multimedia"
allan316@3200 6 SHORT_DESC="software for recording and editing sounds"
allan316@3200 7 MAINTAINER="allan316@gmail.com"
pankso@3264 8 DEPENDS="wxWidgets ffmpeg libvorbis imlib2 libid3tag libmad flac libsndfile \
pascal@4998 9 lame alsa-lib xorg-libXxf86vm"
pankso@3264 10 BUILD_DEPENDS="wxWidgets-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev \
pankso@3264 11 libsndfile-dev lame-dev alsa-lib-dev"
slaxemulator@5357 12 TARBALL="$PACKAGE-minsrc-$VERSION-beta.tar.bz2"
allan316@3200 13 WEB_SITE="http://audacity.sourceforge.net"
slaxemulator@5357 14 WGET_URL="http://audacity.googlecode.com/files/$TARBALL"
jozee@3564 15 TAGS="sound audio recorder editor"
allan316@3200 16
allan316@3200 17 # Rules to configure and make the package.
allan316@3200 18 compile_rules()
allan316@3200 19 {
slaxemulator@5357 20 mv $PACKAGE-src-$VERSION-beta $PACKAGE-$VERSION 2>/dev/null
allan316@3200 21 cd $src
allan316@3200 22 ./configure \
allan316@3200 23 --prefix=/usr \
allan316@3200 24 --infodir=/usr/share/info \
allan316@3200 25 --mandir=/usr/share/man \
pankso@3264 26 --without-ffmpeg \
allan316@3200 27 $CONFIGURE_ARGS &&
allan316@3200 28 make && make DESTDIR=$PWD/_pkg install
allan316@3200 29 }
allan316@3200 30
allan316@3200 31 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3200 32 genpkg_rules()
allan316@3200 33 {
allan316@3200 34 mkdir -p $fs/usr $fs/usr/share
allan316@3200 35 cp -a $_pkg/usr/bin $fs/usr
allan316@3200 36 cp -a $_pkg/usr/share/applications $fs/usr/share
allan316@3200 37 }