wok-6.x annotate py3k-cparser/receipt @ 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 | |
children | 54d60b77baf4 |
rev | line source |
---|---|
Hans-G?nter@25482 | 1 # SliTaz package receipt. |
Hans-G?nter@25482 | 2 |
Hans-G?nter@25482 | 3 PACKAGE="py3k-cparser" |
Hans-G?nter@25482 | 4 VERSION="2.21" |
Hans-G?nter@25482 | 5 CATEGORY="development" |
Hans-G?nter@25482 | 6 SHORT_DESC="Complete C99 parser in pure Python." |
Hans-G?nter@25482 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@25482 | 8 LICENSE="BSD" |
Hans-G?nter@25482 | 9 WEB_SITE="https://github.com/eliben/pycparser/" |
Hans-G?nter@25482 | 10 |
Hans-G?nter@25482 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25482 | 12 WGET_URL="https://github.com/eliben/pycparser/archive/release_v$VERSION.tar.gz" |
Hans-G?nter@25482 | 13 |
Hans-G?nter@25482 | 14 DEPENDS="py3k" |
Hans-G?nter@25482 | 15 BUILD_DEPENDS="py3k" |
Hans-G?nter@25482 | 16 |
Hans-G?nter@25482 | 17 # Rules to configure and make the package. |
Hans-G?nter@25482 | 18 compile_rules() |
Hans-G?nter@25482 | 19 { |
Hans-G?nter@25482 | 20 python3 setup.py install --prefix=/usr --root=$DESTDIR |
Hans-G?nter@25482 | 21 } |
Hans-G?nter@25482 | 22 |
Hans-G?nter@25482 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@25482 | 24 genpkg_rules() |
Hans-G?nter@25482 | 25 { |
Hans-G?nter@25482 | 26 cp -a $install/usr $fs/ |
Hans-G?nter@25482 | 27 } |