wok view pidgin-musictracker/receipt @ rev 23861

xvkbd: fix fetch,compile,and genpkg
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 01:26:32 2020 -0400 (2020-06-19)
parents 20661c276bcf
children 83b97236db32
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="https://launchpad.net/pidgin-musictracker"
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 pkg-config 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 }