wok-6.x view gmpc/receipt @ rev 12031
Merge
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 06 22:42:32 2012 +0100 (2012-03-06) |
parents | 116602ef2d27 |
children | 73641efed1cc |
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 $CONFIGURE_ARGS &&
25 make || return 1
26 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/icons/hicolor
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
36 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
38 }