# HG changeset patch # User Hans-G?nter Theisgen # Date 1665989170 -3600 # Node ID 5f5b715c8ec9f8ce5c9244c6623d8f0d0a4debf4 # Parent 5506a9ecc22600c4f9759abc0c8371599b7bf131 created recipe for py3k-cparser diff -r 5506a9ecc226 -r 5f5b715c8ec9 py3k-cparser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k-cparser/receipt Mon Oct 17 07:46:10 2022 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="py3k-cparser" +VERSION="2.21" +CATEGORY="development" +SHORT_DESC="Complete C99 parser in pure Python." +MAINTAINER="maintainer@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://github.com/eliben/pycparser/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/eliben/pycparser/archive/release_v$VERSION.tar.gz" + +DEPENDS="py3k" +BUILD_DEPENDS="py3k" + +# Rules to configure and make the package. +compile_rules() +{ + python3 setup.py install --prefix=/usr --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}