wok annotate pidgin-musictracker/receipt @ rev 19815

mate-polkit: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 02 10:17:19 2017 +0100 (2017-03-02)
parents 380ffe05937a
children 6135577f4d08
rev   line source
slaxemulator@7574 1 # SliTaz package receipt.
slaxemulator@7574 2
slaxemulator@7574 3 PACKAGE="pidgin-musictracker"
slaxemulator@7744 4 VERSION="0.4.22"
slaxemulator@7574 5 CATEGORY="network"
slaxemulator@7574 6 SHORT_DESC="A Pidgin 'now playing' plugin to publicise the songs you are listening to."
slaxemulator@7574 7 MAINTAINER="ben@seawolfsanctuary.com"
pascal@15000 8 LICENSE="GPL2"
pascal@15000 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15000 10 WEB_SITE="http://pidgin-musictracker.googlecode.com"
pascal@15000 11 WGET_URL="$WEB_SITE/files/$TARBALL"
pascal@15000 12
slaxemulator@7574 13 DEPENDS="pidgin pcre"
pascal@11581 14 BUILD_DEPENDS="pidgin-dev gettext libpurple-dev pcre-dev dbus-glib-dev \
pascal@11581 15 gtk+-dev glib-dev pkg-config libffi"
slaxemulator@7574 16
slaxemulator@7574 17 # Rules to configure and make the package.
slaxemulator@7574 18 compile_rules()
slaxemulator@7574 19 {
pascal@16608 20 sed -i -e 's/g_value_array_free/g_array_unref/' -e 's/GValueArray/GArray/' \
pascal@16608 21 -e '/g_value_array_get_nth/{N;s/GValue.*/status = g_array_index(sigstruct, gint, 0);/}' \
pascal@16608 22 src/mpris.c
gokhlayeh@11573 23 ./configure $CONFIGURE_ARGS &&
pascal@15000 24 make && make DESTDIR=$DESTDIR install
slaxemulator@7574 25 }
slaxemulator@7574 26
slaxemulator@7574 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7574 28 genpkg_rules()
slaxemulator@7574 29 {
slaxemulator@7574 30 mkdir -p $fs
pascal@15000 31 cp -a $install/usr $fs/
slaxemulator@7574 32 }