wok annotate gmpc/receipt @ rev 11759
added libt4kcommon. Supports tux4kids games
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 12:21:48 2012 -0800 (2012-02-22) |
parents | 116602ef2d27 |
children | 73641efed1cc |
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" |
pascal@5029 | 9 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1" |
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 \ |
gokhlayeh@11573 | 23 --disable-shave \ |
gokhlayeh@11573 | 24 $CONFIGURE_ARGS && |
pascal@5001 | 25 make || return 1 |
jozee@4502 | 26 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop |
jozee@4501 | 27 make DESTDIR=$PWD/_pkg install |
jozee@4501 | 28 } |
jozee@4501 | 29 |
jozee@4501 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 31 genpkg_rules() |
jozee@4501 | 32 { |
jozee@4501 | 33 mkdir -p $fs/usr/share/icons/hicolor |
jozee@4501 | 34 cp -a $_pkg/usr/bin $fs/usr |
jozee@4501 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@4501 | 36 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor |
jozee@4501 | 37 |
jozee@4501 | 38 } |