wok-current view gmpc/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | b7319995b37e |
children | e7cd24344559 |
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 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --enable-system-libsexy \
22 --disable-mmkeys \
23 --disable-shave \
24 $CONFIGURE_ARGS &&
25 make || return 1
26 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/icons/hicolor
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
36 cp -a $_pkg/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
38 }