wok-next view pidgin-musictracker/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 02d52e65e75e
children f48456621a9d
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin-musictracker"
4 VERSION="0.4.22"
5 CATEGORY="network"
6 SHORT_DESC="A Pidgin 'now playing' plugin to publicise the songs you are listening to."
7 MAINTAINER="ben@seawolfsanctuary.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://pidgin-musictracker.googlecode.com"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
13 DEPENDS="pidgin pcre"
14 BUILD_DEPENDS="pidgin-dev gettext libpurple-dev pcre-dev dbus-glib-dev \
15 gtk+-dev glib-dev libffi"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's/g_value_array_free/g_array_unref/' -e 's/GValueArray/GArray/' \
21 -e '/g_value_array_get_nth/{N;s/GValue.*/status = g_array_index(sigstruct, gint, 0);/}' \
22 src/mpris.c
23 ./configure $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $install/usr $fs/
32 }