wok-current annotate mitter/receipt @ rev 12723
fox14: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 12:52:37 2012 +0200 (2012-05-05) |
parents | 25c18407eac2 |
children | bb009a6ef036 |
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" |
claudinei@2897 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@2897 | 9 WEB_SITE="http://code.google.com/p/mitter" |
claudinei@2897 | 10 WGET_URL="http://mitter.googlecode.com/files/$TARBALL" |
claudinei@3395 | 11 DEPENDS="python pygtk python-simplejson" |
claudinei@2897 | 12 BUILD_DEPENDS="python-dev" |
claudinei@2897 | 13 |
claudinei@2897 | 14 # Rules to configure and make the package. |
claudinei@2897 | 15 compile_rules() |
claudinei@2897 | 16 { |
claudinei@2897 | 17 cd $src |
claudinei@2897 | 18 python setup.py build |
claudinei@2897 | 19 python setup.py install --root=$PWD/_pkg |
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 |
claudinei@2897 | 27 cp -a $_pkg/usr $fs |
claudinei@2897 | 28 } |
claudinei@2897 | 29 |