wok annotate python-tempita/receipt @ rev 19159
/etc/init.d/*: use 'action' in pair with 'status'.
'action' returns translated message, so why not to add full translatable /etc/init.d/* content
'action' returns translated message, so why not to add full translatable /etc/init.d/* content
| author | Aleksej Bobylev <al.bobylev@gmail.com> |
|---|---|
| date | Thu May 26 20:16:45 2016 +0300 (2016-05-26) |
| parents | bf4a09ef1d2e |
| children | 814362194a8d |
| rev | line source |
|---|---|
| taziden@3777 | 1 # SliTaz package receipt. |
| taziden@3777 | 2 |
| taziden@3777 | 3 PACKAGE="python-tempita" |
| taziden@6502 | 4 VERSION="0.5dev" |
| taziden@3777 | 5 CATEGORY="development" |
| taziden@3777 | 6 SHORT_DESC="Small text templating language" |
| taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
| pascal@15376 | 8 LICENSE="MIT" |
| taziden@3777 | 9 SOURCE="Tempita" |
| taziden@3777 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
| taziden@6502 | 11 WEB_SITE="http://pypi.python.org/pypi/Tempita/" |
| taziden@6502 | 12 WGET_URL="$WEB_SITE/packages/source/T/$SOURCE/$TARBALL" |
| taziden@3777 | 13 TAGS="python" |
| taziden@3777 | 14 |
| pascal@15376 | 15 DEPENDS="python" |
| pascal@15376 | 16 BUILD_DEPENDS="python python-dev setuptools" |
| pascal@15376 | 17 |
| taziden@3777 | 18 # Rules to configure and make the package. |
| taziden@3777 | 19 compile_rules() |
| taziden@3777 | 20 { |
| pascal@15376 | 21 python setup.py install --root=$DESTDIR |
| taziden@3777 | 22 } |
| taziden@3777 | 23 |
| taziden@3777 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
| taziden@3777 | 25 genpkg_rules() |
| taziden@3777 | 26 { |
| pascal@15376 | 27 cp -a $install/usr $fs |
| taziden@3777 | 28 } |