wok-stable view gmpc/receipt @ rev 10921

fix get-LibreOffice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 05 21:16:43 2011 +0200 (2011-08-05)
parents 9f19aee613be
children b7319995b37e
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 sqlite libtasn1"
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 --disable-shave &&
24 make || return 1
25 sed -i 's|GNOME;AudioVideo;|GTK;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 }