wok view mitter/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (4 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 }