wok-current annotate 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 |
rev | line source |
---|---|
jozee@4501 | 1 # SliTaz package receipt. |
jozee@4501 | 2 |
jozee@4501 | 3 PACKAGE="gmpc" |
jozee@4501 | 4 VERSION="0.19.1" |
jozee@4501 | 5 CATEGORY="multimedia" |
jozee@4501 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4501 | 7 SHORT_DESC="A GTK2 client for MPD" |
jozee@4501 | 8 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" |
jozee@4501 | 9 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd" |
jozee@4501 | 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" |
jozee@4501 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4501 | 12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL" |
jozee@4501 | 13 TAGS="" |
jozee@4501 | 14 |
jozee@4501 | 15 # Rules to configure and make the package. |
jozee@4501 | 16 |
jozee@4501 | 17 compile_rules() { |
jozee@4501 | 18 cd $src |
jozee@4501 | 19 ./configure \ |
jozee@4501 | 20 --prefix=/usr \ |
jozee@4501 | 21 --enable-system-libsexy \ |
jozee@4501 | 22 --disable-mmkeys \ |
jozee@4501 | 23 --disbale-shave |
jozee@4501 | 24 make |
jozee@4501 | 25 sed -i 's|GNOME;Application;AudioVideo;|GTK;Application;AudioVideo;Player;|' data/${PACKAGE}.desktop |
jozee@4501 | 26 make DESTDIR=$PWD/_pkg install |
jozee@4501 | 27 } |
jozee@4501 | 28 |
jozee@4501 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 30 genpkg_rules() |
jozee@4501 | 31 { |
jozee@4501 | 32 mkdir -p $fs/usr/share/icons/hicolor |
jozee@4501 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@4501 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@4501 | 35 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor |
jozee@4501 | 36 |
jozee@4501 | 37 } |