wok-6.x annotate gmpc/receipt @ rev 15797

Up: clex (4.6.patch6)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 19 14:41:49 2014 +0100 (2014-01-19)
parents e7cd24344559
children 69c80106a6af
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"
pascal@15001 7 LICENSE="GPL2"
jozee@4501 8 SHORT_DESC="A GTK2 client for MPD"
jozee@4501 9 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
pascal@5029 10 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1"
pascal@12626 11 BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \
pascal@12626 12 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
jozee@4501 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@4501 14 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
jozee@4501 15 TAGS=""
jozee@4501 16
jozee@4501 17 # Rules to configure and make the package.
jozee@4501 18
jozee@4501 19 compile_rules() {
jozee@4501 20 cd $src
jozee@4501 21 ./configure \
jozee@4501 22 --prefix=/usr \
jozee@4501 23 --enable-system-libsexy \
jozee@4501 24 --disable-mmkeys \
gokhlayeh@11573 25 --disable-shave \
gokhlayeh@11573 26 $CONFIGURE_ARGS &&
pascal@5001 27 make || return 1
jozee@4502 28 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
pascal@15001 29 make DESTDIR=$DESTDIR install
jozee@4501 30 }
jozee@4501 31
jozee@4501 32 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4501 33 genpkg_rules()
jozee@4501 34 {
jozee@4501 35 mkdir -p $fs/usr/share/icons/hicolor
pascal@15001 36 cp -a $install/usr/bin $fs/usr
pascal@15001 37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15001 38 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
jozee@4501 39
jozee@4501 40 }