wok view gmpc/receipt @ rev 14869

Up: perl-pango (1.224)
author Claudinei Pereira <claudinei@slitaz.org>
date Mon Jul 22 19:47:37 2013 -0300 (2013-07-22)
parents 73641efed1cc
children 408c87fa22ca
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 sqlite-dev \
11 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
14 TAGS=""
16 # Rules to configure and make the package.
18 compile_rules() {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --enable-system-libsexy \
23 --disable-mmkeys \
24 --disable-shave \
25 $CONFIGURE_ARGS &&
26 make || return 1
27 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/icons/hicolor
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
39 }