rev |
line source |
pascal@13512
|
1 # SliTaz package receipt.
|
pascal@13512
|
2
|
pascal@13512
|
3 PACKAGE="giws"
|
pascal@13512
|
4 VERSION="2.0.1"
|
pascal@13512
|
5 CATEGORY="development"
|
pascal@13512
|
6 SHORT_DESC="Generates a C++ wrapper on the Java object."
|
pascal@13512
|
7 MAINTAINER="pascal.bellard@slitaz.org"
|
pascal@13512
|
8 WEB_SITE="http://www.scilab.org/giws"
|
pascal@13512
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@13512
|
10 WGET_URL="http://forge.scilab.org/index.php/p/$PACKAGE/downloads/get/$TARBALL"
|
pascal@13512
|
11
|
pascal@13512
|
12 DEPENDS="python"
|
pascal@13512
|
13 BUILD_DEPENDS="python libxml2-python"
|
pascal@13512
|
14
|
pascal@13512
|
15 # Rules to configure and make the package.
|
pascal@13512
|
16 compile_rules()
|
pascal@13512
|
17 {
|
pascal@13512
|
18 cd $src
|
pascal@13512
|
19 python setup.py build
|
pascal@13512
|
20 python setup.py install --root=$DESTDIR
|
pascal@13512
|
21 }
|
pascal@13512
|
22
|
pascal@13512
|
23 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@13512
|
24 genpkg_rules()
|
pascal@13512
|
25 {
|
pascal@13512
|
26 cp -a $install/* $fs
|
pascal@13512
|
27 }
|