wok-current view pidgin-musictracker/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 83b97236db32 |
children |
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/develop/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i -e 's/g_value_array_free/g_array_unref/' -e 's/GValueArray/GArray/' \
28 -e '/g_value_array_get_nth/{N;s/GValue.*/status = g_array_index(sigstruct, gint, 0);/}' \
29 src/mpris.c
30 ./configure $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs
38 cp -a $install/usr $fs/
39 }