wok-current annotate alsaplayer/receipt @ rev 13515

alsaplayer: enable flac
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 18 10:28:22 2012 +0200 (2012-10-18)
parents 03117e7655ff
children 2b9f96603415
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsaplayer"
slaxemulator@7189 4 VERSION="0.99.81"
pankso@177 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Alsa GTK+ PCM player."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@13515 8 SUGGESTED="alsaplayer-scopes libid3tag flac"
pankso@32 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@32 10 WEB_SITE="http://www.alsaplayer.org/"
pankso@32 11 WGET_URL="http://www.alsaplayer.org/$TARBALL"
pascal@13515 12 TAGS="music audio player mp3 ogg flac"
pascal@13515 13
pascal@13515 14 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
pascal@13515 15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
pankso@32 16
pankso@32 17 # Rules to configure and make the package.
pankso@32 18 compile_rules()
pankso@32 19 {
pankso@32 20 cd $src
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@13515 27 --enable-flac \
pankso@5119 28 --disable-jack \
pankso@5119 29 --disable-esd \
pascal@1524 30 $CONFIGURE_ARGS &&
pascal@1524 31 make &&
pankso@32 32 # Chmod install-sh to avoid install error.
pascal@1524 33 chmod 755 install-sh &&
pascal@13515 34 make DESTDIR=$DESTDIR install
pankso@32 35 }
pankso@32 36
pankso@32 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 38 genpkg_rules()
pankso@32 39 {
pankso@574 40 mkdir -p $fs/usr/lib
pankso@3816 41
pascal@13515 42 cp -a $install/usr/bin $fs/usr
pascal@13515 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13515 44 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
pankso@3816 45
pankso@579 46 # Remove devel files and scopes.
pankso@32 47 rm $fs/usr/lib/alsaplayer/*/*.*a
pankso@579 48 rm -rf $fs/usr/lib/alsaplayer/scopes2
pankso@32 49 }
pankso@32 50