wok diff py3k-cparser/receipt @ rev 25503
f3: include extra programs
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 27 10:37:43 2023 +0100 (16 months ago) |
parents | |
children | 54d60b77baf4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/py3k-cparser/receipt Fri Jan 27 10:37:43 2023 +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 +}