wok-6.x view mitter/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | 9b180a3071fb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mitter"
4 VERSION="0.4.5"
5 CATEGORY="network"
6 SHORT_DESC="Mitter is a client for Twitter."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter"
11 WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL"
12 DEPENDS="python pygtk python-simplejson"
13 BUILD_DEPENDS="python-dev"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://src.fedoraproject.org/repo/pkgs/$PACKAGE/ 2>/dev/null | \
19 sed '/compressed.gif/!d;s|.*mitter-||;s|.tar.*||' | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/applications
33 cp -a $stuff/mitter.desktop $fs/usr/share/applications
34 cp -a $install/usr $fs
35 }