wok-6.x view alsaplayer/receipt @ rev 19152

librsvg: remove unwanted post-install message in the Cook Log
(when librsvg is installed as build dependency)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 23 16:51:33 2016 +0300 (2016-05-23)
parents 128aae84d74c
children f0a0b5091b4a
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 i="$src/interface/gtk2/pixmaps"
28 cp -f $i/note.xpm $i/logo.xpm
29 sed -i 's/note/logo/' $i/logo.xpm
31 ./configure \
32 --enable-gtk2 \
33 --enable-flac \
34 --disable-jack \
35 --disable-esd \
36 $CONFIGURE_ARGS &&
37 make &&
38 # Chmod install-sh to avoid install error.
39 chmod 755 install-sh &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
52 # Remove devel files and scopes.
53 rm $fs/usr/lib/alsaplayer/*/*.*a
54 rm -rf $fs/usr/lib/alsaplayer/scopes2
55 }