wok rev 25482

created recipe for py3k-cparser
author Hans-G?nter Theisgen
date Mon Oct 17 07:46:10 2022 +0100 (2022-10-17)
parents 5506a9ecc226
children bf5cc66f2a2b
files py3k-cparser/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/py3k-cparser/receipt	Mon Oct 17 07:46:10 2022 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="py3k-cparser"
     1.7 +VERSION="2.21"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Complete C99 parser in pure Python."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://github.com/eliben/pycparser/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/eliben/pycparser/archive/release_v$VERSION.tar.gz"
    1.16 +
    1.17 +DEPENDS="py3k"
    1.18 +BUILD_DEPENDS="py3k"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	python3 setup.py install --prefix=/usr --root=$DESTDIR
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $install/usr $fs/
    1.30 +}