wok annotate alsaplayer/receipt @ rev 19318

clisp: patch to disable failed test
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 13 14:34:07 2016 +0300 (2016-07-13)
parents f0a0b5091b4a
children 68cf96abc146
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@16248 6 SHORT_DESC="Alsa GTK+ PCM audio player."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19275 9 WEB_SITE="http://alsaplayer.sourceforge.net/"
pankso@32 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19275 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@13515 12 TAGS="music audio player mp3 ogg flac"
pankso@16248 13 HOST_ARCH="i486 arm"
pascal@13515 14
pankso@16248 15 SUGGESTED="alsaplayer-scopes libid3tag flac"
al@19265 16 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
pankso@16248 17 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
pankso@16248 18
pankso@16248 19 # Handle cross compilation.
pankso@16248 20 case "$ARCH" in
pankso@16248 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
pankso@16248 22 esac
pankso@32 23
pankso@32 24 # Rules to configure and make the package.
pankso@32 25 compile_rules()
pankso@32 26 {
psychomaniak@18152 27 i="$src/interface/gtk2/pixmaps"
psychomaniak@18152 28 cp -f $i/note.xpm $i/logo.xpm
psychomaniak@18152 29 sed -i 's/note/logo/' $i/logo.xpm
psychomaniak@18152 30
pankso@32 31 ./configure \
pankso@4159 32 --enable-gtk2 \
pascal@13515 33 --enable-flac \
pankso@5119 34 --disable-jack \
pankso@5119 35 --disable-esd \
pascal@1524 36 $CONFIGURE_ARGS &&
pascal@1524 37 make &&
pankso@32 38 # Chmod install-sh to avoid install error.
pascal@1524 39 chmod 755 install-sh &&
pascal@13515 40 make DESTDIR=$DESTDIR install
pankso@32 41 }
pankso@32 42
pankso@32 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 44 genpkg_rules()
pankso@32 45 {
pankso@574 46 mkdir -p $fs/usr/lib
pankso@3816 47
pascal@13515 48 cp -a $install/usr/bin $fs/usr
pascal@13515 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13515 50 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
pankso@3816 51
pankso@579 52 # Remove devel files and scopes.
pankso@32 53 rm $fs/usr/lib/alsaplayer/*/*.*a
pankso@579 54 rm -rf $fs/usr/lib/alsaplayer/scopes2
pankso@32 55 }