rev |
line source |
pascal@2148
|
1 # SliTaz package receipt.
|
pascal@2148
|
2
|
pascal@2148
|
3 PACKAGE="pycrypto"
|
pascal@2148
|
4 VERSION="2.0.1"
|
pascal@2148
|
5 CATEGORY="development"
|
pascal@2148
|
6 SHORT_DESC="Cryptographic algorithms and protocols for python."
|
pascal@2148
|
7 MAINTAINER="pascal.bellard@slitaz.org"
|
pascal@2148
|
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@2148
|
9 WEB_SITE="http://www.amk.ca/python/code/crypto"
|
pascal@2148
|
10 WGET_URL="http://www.amk.ca/files/python/crypto/$TARBALL"
|
pascal@2148
|
11 DEPENDS="python"
|
pascal@2148
|
12
|
pascal@2148
|
13 # Rules to configure and make the package.
|
pascal@2148
|
14 compile_rules()
|
pascal@2148
|
15 {
|
pascal@2148
|
16 cd $src
|
pascal@2148
|
17 python setup.py build && python setup.py install --root=$PWD/_pkg
|
pascal@2148
|
18 }
|
pascal@2148
|
19
|
pascal@2148
|
20 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@2148
|
21 genpkg_rules()
|
pascal@2148
|
22 {
|
pascal@2148
|
23 cp -a $_pkg/usr $fs
|
pascal@2148
|
24 }
|
pascal@2148
|
25
|