wok view gmpc/receipt @ rev 4501

Add gmpc, gmpc-dev (lightweight, powerful MPD client)
author Rohit Joshi <jozee@slitaz.org>
date Fri Nov 20 15:32:34 2009 +0000 (2009-11-20)
parents
children 774563c05eba
line source
1 # SliTaz package receipt.
3 PACKAGE="gmpc"
4 VERSION="0.19.1"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A GTK2 client for MPD"
8 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
9 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd"
10 BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-ng-uuid-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --enable-system-libsexy \
22 --disable-mmkeys \
23 --disbale-shave
24 make
25 sed -i 's|GNOME;Application;AudioVideo;|GTK;Application;AudioVideo;Player;|' data/${PACKAGE}.desktop
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/icons/hicolor
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
37 }