wok-next view gmpc/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmpc"
4 VERSION="11.8.16"
5 CATEGORY="multimedia"
6 SHORT_DESC="A GTK2 client for MPD"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gmpclient.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.sarine.nl/Programs/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \
15 xorg-libSM-dev libsoup-dev xorg-xcb-util-dev util-linux-uuid-dev flex intltool \
16 vala"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -lm"
22 ./configure \
23 --disable-shave \
24 --disable-unique \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make || return 1
28 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 gmpc)
35 copy @std
36 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
37 sqlite3 libtasn1"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }