wok-current view purple-facebook/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents 96cf6f4e78d1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="purple-facebook"
4 VERSION="0.9.6"
5 CATEGORY="network"
6 SHORT_DESC="Facebook chat plugin for Pidgin and libpurple messengers."
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/dequis/purple-facebook"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
13 DEPENDS="pidgin zip json-glib"
14 BUILD_DEPENDS="libpurple-dev json-glib-dev zlib-dev unzip pidgin"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/purple-2
34 cp -a $install/usr/lib/purple-2/*.so* $fs/usr/lib/purple-2
35 }