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