wok annotate emesene/receipt @ rev 24877
updated makeself (2.4.0 -> 2.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 13:51:42 2022 +0100 (2022-03-31) |
parents | e3f377fbc5f0 |
children |
rev | line source |
---|---|
rocky@3544 | 1 # SliTaz package receipt. |
rocky@3544 | 2 |
rocky@3544 | 3 PACKAGE="emesene" |
rocky@5088 | 4 VERSION="1.6" |
rocky@3544 | 5 CATEGORY="network" |
rocky@3544 | 6 SHORT_DESC="Instant messaging client for Windows Live Messenger (tm) network." |
rocky@3544 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2 LGPL2.1" |
rocky@3544 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20673 | 10 WEB_SITE="https://github.com/emesene/emesene" |
rocky@3544 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 12 TAGS="im instant-messaging instant-messenger" |
rocky@3544 | 13 |
pascal@15588 | 14 DEPENDS="python pygtk pycairo python-pysqlite gst-python" |
pascal@15588 | 15 BUILD_DEPENDS="python-dev" |
pascal@15588 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
rocky@3544 | 24 # Rules to configure and make the package. |
rocky@3544 | 25 compile_rules() |
rocky@3544 | 26 { |
rocky@3544 | 27 cd $src |
rocky@3573 | 28 while read file; do |
rocky@3573 | 29 [ -f done.$file ] && continue |
rocky@3573 | 30 echo "Apply $file..." |
slaxemulator@9700 | 31 patch -p1 < $stuff/$file || return 1 |
rocky@3573 | 32 touch done.$file |
rocky@3573 | 33 done <<EOT |
rocky@3573 | 34 slitaz-openbox.patch |
rocky@3573 | 35 EOT |
rocky@3972 | 36 python setup.py build_ext -i || return 1 |
rocky@3544 | 37 } |
rocky@3544 | 38 |
rocky@3544 | 39 |
rocky@3544 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3544 | 41 genpkg_rules() |
rocky@3544 | 42 { |
rocky@3544 | 43 mkdir -p $fs/usr/bin \ |
rocky@3544 | 44 $fs/usr/share/emesene \ |
rocky@3544 | 45 $fs/usr/share/pixmaps \ |
rocky@3544 | 46 $fs/usr/share/applications |
rocky@3544 | 47 |
rocky@3544 | 48 cp stuff/emesene $fs/usr/bin |
rocky@3544 | 49 cp -a $src/* $fs/usr/share/emesene |
rocky@3544 | 50 cp $fs/usr/share/emesene/misc/emesene.png $fs/usr/share/pixmaps |
rocky@3544 | 51 cp $fs/usr/share/emesene/misc/emesene.desktop $fs/usr/share/applications |
rocky@3544 | 52 |
rocky@3544 | 53 rm -rf $fs/usr/share/emesene/misc |
rocky@3544 | 54 rm -rf $fs/usr/share/emesene/po |
rocky@3972 | 55 rm -rf $fs/usr/share/emesene/libmimic |
rocky@3972 | 56 rm -rf $fs/usr/share/emesene/build |
rocky@3544 | 57 } |