wok annotate mitter/receipt @ rev 25751
fixed recipe for wxHexEditor
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 31 15:45:44 2024 +0100 (7 weeks ago) |
parents | 9b180a3071fb |
children |
rev | line source |
---|---|
claudinei@2897 | 1 # SliTaz package receipt. |
claudinei@2897 | 2 |
claudinei@2897 | 3 PACKAGE="mitter" |
claudinei@2897 | 4 VERSION="0.4.5" |
claudinei@2953 | 5 CATEGORY="network" |
claudinei@2897 | 6 SHORT_DESC="Mitter is a client for Twitter." |
claudinei@2897 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL3" |
claudinei@2897 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20674 | 10 WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter" |
pascal@25445 | 11 WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL" |
claudinei@3395 | 12 DEPENDS="python pygtk python-simplejson" |
claudinei@2897 | 13 BUILD_DEPENDS="python-dev" |
claudinei@2897 | 14 |
pascal@25445 | 15 # What is the latest version available today? |
pascal@25445 | 16 current_version() |
pascal@25445 | 17 { |
pascal@25445 | 18 wget -O - https://src.fedoraproject.org/repo/pkgs/$PACKAGE/ 2>/dev/null | \ |
pascal@25445 | 19 sed '/compressed.gif/!d;s|.*mitter-||;s|.tar.*||' | sort -Vr | sed q |
pascal@25445 | 20 } |
pascal@25445 | 21 |
claudinei@2897 | 22 # Rules to configure and make the package. |
claudinei@2897 | 23 compile_rules() |
claudinei@2897 | 24 { |
claudinei@2897 | 25 python setup.py build |
pascal@15583 | 26 python setup.py install --root=$DESTDIR |
claudinei@2897 | 27 } |
claudinei@2897 | 28 |
claudinei@2897 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2897 | 30 genpkg_rules() |
claudinei@2897 | 31 { |
pascal@11623 | 32 mkdir -p $fs/usr/share/applications |
pascal@11623 | 33 cp -a $stuff/mitter.desktop $fs/usr/share/applications |
pascal@15583 | 34 cp -a $install/usr $fs |
claudinei@2897 | 35 } |