rev |
line source |
taziden@3777
|
1 # SliTaz package receipt.
|
taziden@3777
|
2
|
taziden@3777
|
3 PACKAGE="python-mako"
|
taziden@6465
|
4 VERSION="0.3.4"
|
taziden@3777
|
5 CATEGORY="development"
|
taziden@3777
|
6 SHORT_DESC="Fast template library"
|
taziden@3777
|
7 MAINTAINER="taziden@slitaz.org"
|
pascal@15378
|
8 LICENSE="MIT"
|
taziden@3777
|
9 SOURCE="Mako"
|
taziden@3777
|
10 TARBALL="$SOURCE-$VERSION.tar.gz"
|
taziden@6465
|
11 WEB_SITE="http://www.makotemplates.org/"
|
taziden@6465
|
12 WGET_URL="$WEB_SITE/downloads/$TARBALL"
|
taziden@3777
|
13 TAGS="python"
|
taziden@3777
|
14
|
pascal@15378
|
15 DEPENDS="python"
|
pascal@15378
|
16 BUILD_DEPENDS="python python-dev setuptools"
|
pascal@15378
|
17
|
taziden@3777
|
18 # Rules to configure and make the package.
|
taziden@3777
|
19 compile_rules()
|
taziden@3777
|
20 {
|
taziden@3777
|
21 cd $src
|
pascal@15378
|
22 python setup.py install --root=$DESTDIR
|
taziden@3777
|
23 }
|
taziden@3777
|
24
|
taziden@3777
|
25 # Rules to gen a SliTaz package suitable for Tazpkg.
|
taziden@3777
|
26 genpkg_rules()
|
taziden@3777
|
27 {
|
pascal@15378
|
28 cp -a $install/usr $fs
|
taziden@3777
|
29 }
|
taziden@3777
|
30
|