wok-6.x view pidgin-otr/receipt @ rev 25437

Add wireguard for linux64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 17:31:14 2022 +0000 (2022-08-31)
parents 58618839aa9c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pidgin-otr"
4 VERSION="4.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Allows private conversations over Pidgin messenger."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://otr.cypherpunks.ca/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE$TARBALL"
14 DEPENDS="libotr pidgin"
15 BUILD_DEPENDS="glib-dev gtk+-dev intltool libgcrypt-dev libgpg-error-dev
16 libotr-dev libpurple-dev pidgin-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 rm -f $fs/usr/lib/pidgin/pidgin-otr.la
40 }