wok-4.x diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gmpc/receipt Fri Nov 20 15:32:34 2009 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gmpc" 1.7 +VERSION="0.19.1" 1.8 +CATEGORY="multimedia" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +SHORT_DESC="A GTK2 client for MPD" 1.11 +WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" 1.12 +DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd" 1.13 +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" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL" 1.16 +TAGS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 + 1.20 +compile_rules() { 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr \ 1.24 + --enable-system-libsexy \ 1.25 + --disable-mmkeys \ 1.26 + --disbale-shave 1.27 + make 1.28 + sed -i 's|GNOME;Application;AudioVideo;|GTK;Application;AudioVideo;Player;|' data/${PACKAGE}.desktop 1.29 + make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/share/icons/hicolor 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.38 + cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor 1.39 + 1.40 +}