wok-6.x annotate alsaplayer/receipt @ rev 5043

Up:cryptsetup; add cryptsetup-dev; update WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Thu Mar 04 10:52:50 2010 +0000 (2010-03-04)
parents d9a844001ba2
children 81f3a6713ffc
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsaplayer"
pankso@32 4 VERSION="0.99.80"
pankso@177 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Alsa GTK+ PCM player."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@4998 8 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage esound libsndfile"
pankso@3816 9 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev flac-dev libogg-dev libvorbis-dev"
pascal@2142 10 SUGGESTED="alsaplayer-scopes libid3tag flac"
pankso@32 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@32 12 WEB_SITE="http://www.alsaplayer.org/"
pankso@32 13 WGET_URL="http://www.alsaplayer.org/$TARBALL"
jozee@3563 14 TAGS="music audio player mp3 ogg"
pankso@32 15
pankso@32 16 # Rules to configure and make the package.
pankso@32 17 compile_rules()
pankso@32 18 {
pankso@32 19 cd $src
pankso@3816 20 patch -p0 < ../stuff/gcc44.patch || exit 1
pankso@32 21 ./configure \
pankso@32 22 --enable-nls \
pankso@32 23 --prefix=/usr \
pankso@32 24 --infodir=/usr/share/info \
pankso@32 25 --mandir=/usr/share/man \
pankso@4159 26 --enable-gtk2 \
pascal@1524 27 $CONFIGURE_ARGS &&
pascal@1524 28 make &&
pankso@32 29 # Chmod install-sh to avoid install error.
pascal@1524 30 chmod 755 install-sh &&
pankso@32 31 make DESTDIR=$PWD/_pkg install
pankso@32 32 }
pankso@32 33
pankso@32 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 35 genpkg_rules()
pankso@32 36 {
pankso@574 37 mkdir -p $fs/usr/lib
pankso@3816 38
pankso@32 39 cp -a $_pkg/usr/bin $fs/usr
pankso@32 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@32 41 cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
pankso@3816 42
pankso@579 43 # Remove devel files and scopes.
pankso@32 44 rm $fs/usr/lib/alsaplayer/*/*.*a
pankso@579 45 rm -rf $fs/usr/lib/alsaplayer/scopes2
pankso@32 46 }
pankso@32 47