wok-6.x annotate mitter/receipt @ rev 13770
Merge
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 03 15:34:53 2013 +0300 (2013-01-03) |
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 |