wok-6.x annotate mitter/receipt @ rev 20258
Add giflossy (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 14 12:58:37 2018 +0100 (2018-03-14) |
parents | bb009a6ef036 |
children | eeba7ab1dffe |
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" |
claudinei@2897 | 10 WEB_SITE="http://code.google.com/p/mitter" |
claudinei@2897 | 11 WGET_URL="http://mitter.googlecode.com/files/$TARBALL" |
claudinei@3395 | 12 DEPENDS="python pygtk python-simplejson" |
claudinei@2897 | 13 BUILD_DEPENDS="python-dev" |
claudinei@2897 | 14 |
claudinei@2897 | 15 # Rules to configure and make the package. |
claudinei@2897 | 16 compile_rules() |
claudinei@2897 | 17 { |
claudinei@2897 | 18 python setup.py build |
pascal@15583 | 19 python setup.py install --root=$DESTDIR |
claudinei@2897 | 20 } |
claudinei@2897 | 21 |
claudinei@2897 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2897 | 23 genpkg_rules() |
claudinei@2897 | 24 { |
pascal@11623 | 25 mkdir -p $fs/usr/share/applications |
pascal@11623 | 26 cp -a $stuff/mitter.desktop $fs/usr/share/applications |
pascal@15583 | 27 cp -a $install/usr $fs |
claudinei@2897 | 28 } |