wok view alsaplayer/receipt @ rev 16279

Add: xorg-xf86-video-nouveau (1.0.10)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 22:54:38 2014 +0000 (2014-04-05)
parents 2b9f96603415
children a2f7f8eaeaa3
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM audio player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.alsaplayer.org/"
11 WGET_URL="http://www.alsaplayer.org/$TARBALL"
12 TAGS="music audio player mp3 ogg flac"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="alsaplayer-scopes libid3tag flac"
16 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --enable-gtk2 \
29 --enable-flac \
30 --disable-jack \
31 --disable-esd \
32 $CONFIGURE_ARGS &&
33 make &&
34 # Chmod install-sh to avoid install error.
35 chmod 755 install-sh &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
48 # Remove devel files and scopes.
49 rm $fs/usr/lib/alsaplayer/*/*.*a
50 rm -rf $fs/usr/lib/alsaplayer/scopes2
51 }