wok-current annotate giws/receipt @ rev 24900

updated megatools (1.9.96 -> 1.10.3)
author Hans-G?nter Theisgen
date Sat Apr 09 10:09:47 2022 +0100 (2022-04-09)
parents 5ea0ce1cecc0
children
rev   line source
pascal@13512 1 # SliTaz package receipt.
pascal@13512 2
pascal@13512 3 PACKAGE="giws"
Hans-G?nter@20968 4 VERSION="2.0.2"
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"
Hans-G?nter@20968 8 LICENSE="CeCILL"
pascal@20672 9 WEB_SITE="https://github.com/opencollab/giws"
Hans-G?nter@20968 10
pascal@13512 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20968 12 WGET_URL="https://github.com/opencollab/$PACKAGE/archive/$VERSION.tar.gz"
pascal@13512 13
pascal@13512 14 DEPENDS="python"
pascal@13512 15 BUILD_DEPENDS="python libxml2-python"
pascal@13512 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@13512 23 # Rules to configure and make the package.
pascal@13512 24 compile_rules()
pascal@13512 25 {
pascal@13512 26 python setup.py build
pascal@13512 27 python setup.py install --root=$DESTDIR
pascal@13512 28 }
pascal@13512 29
pascal@13512 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13512 31 genpkg_rules()
pascal@13512 32 {
pascal@13512 33 cp -a $install/* $fs
pascal@13512 34 }