wok view purple-facebook/receipt @ rev 24226
updated perl-io-tty (1.14 -> 1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:52:39 2021 +0100 (2021-12-31) |
parents | 96cf6f4e78d1 |
children | 0262035dc1e7 |
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 }