wok-next view gmpc/receipt @ rev 16243
Up grisbi (1.0.0) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 09:02:35 2014 +0000 (2014-04-03) |
parents | e7cd24344559 |
children | 69c80106a6af |
line source
1 # SliTaz package receipt.
3 PACKAGE="gmpc"
4 VERSION="0.19.1"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A GTK2 client for MPD"
9 WEB_SITE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
10 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1"
11 BUILD_DEPENDS="gob2 intltool libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \
12 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION}/$TARBALL"
15 TAGS=""
17 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-system-libsexy \
24 --disable-mmkeys \
25 --disable-shave \
26 $CONFIGURE_ARGS &&
27 make || return 1
28 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/icons/hicolor
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
38 cp -a $install/usr/share/icons/hicolor/16x16 $fs/usr/share/icons/hicolor
40 }