wok annotate pidgin/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | 4bae0fb81a17 |
children | 1b47827a7c64 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="pidgin" |
Hans-G?nter@24273 | 4 VERSION="2.14.8" |
pankso@186 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Instant messaging client using GTK+." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
Hans-G?nter@24273 | 9 WEB_SITE="https://www.pidgin.im/" |
Hans-G?nter@24273 | 10 |
pankso@41 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@41 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@24273 | 13 |
pascal@16678 | 14 PROVIDE="purple" |
Hans-G?nter@24273 | 15 DEPENDS="cyrus-sasl gmp gnutls gtk+ libgcrypt libgpg-error libidn libtasn1 libxcb |
Hans-G?nter@24273 | 16 libxml2 ncursesw nss startup-notification xcb-util xorg-libXdamage" |
Hans-G?nter@24273 | 17 BUILD_DEPENDS="cyrus-sasl-dev expat-dev GConf gmp-dev gnutls-dev gtk+-dev |
Hans-G?nter@24273 | 18 intltool libgcrypt-dev libgpg-error-dev libidn-dev libtasn1-dev |
Hans-G?nter@24273 | 19 libxcb-dev libxml2-dev ncursesw-dev nss-dev startup-notification-dev |
Hans-G?nter@24273 | 20 xcb-util-dev" |
pankso@41 | 21 |
Hans-G?nter@24273 | 22 # @maintainer: Please update also libpurple-dev |
slaxemulator@12419 | 23 |
pascal@24082 | 24 current_version() |
pascal@24082 | 25 { |
pascal@24082 | 26 wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \ |
pascal@24082 | 27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24082 | 28 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24082 | 29 } |
pascal@24082 | 30 |
pankso@41 | 31 # Rules to configure and make the package. |
pankso@41 | 32 compile_rules() |
pankso@41 | 33 { |
pankso@3634 | 34 touch pidgin.desktop |
Hans-G?nter@24273 | 35 |
Hans-G?nter@24273 | 36 # 2.14.8 to avoid |
Hans-G?nter@24273 | 37 # diff: can't stat 'package_revision_raw.txt': No such file or directory |
Hans-G?nter@24273 | 38 touch package_revision_raw.txt |
Hans-G?nter@24273 | 39 |
slaxemulator@12419 | 40 # Pidgin doesn't explicitly link to libm |
pascal@17670 | 41 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
Hans-G?nter@24273 | 42 |
Hans-G?nter@24273 | 43 ./configure \ |
Hans-G?nter@24273 | 44 --prefix=/usr \ |
Hans-G?nter@24273 | 45 --infodir=/usr/share/info \ |
Hans-G?nter@24273 | 46 --mandir=/usr/share/man \ |
Hans-G?nter@24273 | 47 --disable-gevolution \ |
Hans-G?nter@24273 | 48 --disable-perl \ |
Hans-G?nter@24273 | 49 --disable-screensaver \ |
Hans-G?nter@24273 | 50 --disable-gtkspell \ |
Hans-G?nter@24273 | 51 --disable-gstreamer \ |
Hans-G?nter@24273 | 52 --disable-gstreamer-interfaces \ |
Hans-G?nter@24273 | 53 --disable-meanwhile \ |
Hans-G?nter@24273 | 54 --disable-avahi \ |
Hans-G?nter@24273 | 55 --disable-nm \ |
Hans-G?nter@24273 | 56 --disable-tcl \ |
Hans-G?nter@24273 | 57 --disable-tk \ |
Hans-G?nter@24273 | 58 --disable-dbus \ |
Hans-G?nter@24273 | 59 --disable-vv \ |
Hans-G?nter@24273 | 60 --disable-idn \ |
Hans-G?nter@24273 | 61 --disable-sm \ |
pascal@2522 | 62 $CONFIGURE_ARGS && |
Hans-G?nter@24273 | 63 make && |
slaxemulator@12419 | 64 make install |
pankso@41 | 65 } |
pankso@41 | 66 |
pankso@41 | 67 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 68 genpkg_rules() |
pankso@41 | 69 { |
Hans-G?nter@24273 | 70 mkdir -p $fs/usr/lib |
Hans-G?nter@24273 | 71 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@24273 | 72 |
Hans-G?nter@24273 | 73 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24273 | 74 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@24273 | 75 cp -a $install/usr/lib/pidgin $fs/usr/lib |
Hans-G?nter@24273 | 76 cp -a $install/usr/lib/purple-2 $fs/usr/lib |
Hans-G?nter@24273 | 77 rm $fs/usr/lib/pidgin/*.la |
Hans-G?nter@24273 | 78 rm $fs/usr/lib/purple-2/*.la |
Hans-G?nter@24273 | 79 cp -a $install/usr/share/purple $fs/usr/share |
Hans-G?nter@24273 | 80 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps |
Hans-G?nter@24273 | 81 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ |
Hans-G?nter@24273 | 82 $fs/usr/share/pixmaps |
pankso@41 | 83 } |