wok-current view gmpc/receipt @ rev 13371

Up: slitaz-base-files (5.3) - bunch of improvments, thanks Aleksej
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 14 22:30:53 2012 +0200 (2012-09-14)
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 }