wok-current annotate python-cparser/receipt @ rev 22587
updated celestia (1.6.0 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 07 14:57:50 2020 +0100 (2020-01-07) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@21810 | 1 # SliTaz package receipt. |
pascal@21810 | 2 |
pascal@21810 | 3 PACKAGE="python-cparser" |
pascal@21810 | 4 VERSION="2.19" |
pascal@21810 | 5 CATEGORY="development" |
pascal@21810 | 6 SHORT_DESC="Complete C99 parser in pure Python" |
pascal@21810 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21810 | 8 LICENSE="BSD" |
pascal@21810 | 9 WEB_SITE="https://github.com/eliben/pycparser/" |
pascal@21810 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21810 | 11 WGET_URL="https://github.com/eliben/pycparser/archive/release_v$VERSION.tar.gz" |
pascal@21810 | 12 |
pascal@21810 | 13 DEPENDS="python" |
pascal@21810 | 14 BUILD_DEPENDS="python" |
pascal@21810 | 15 |
pascal@21810 | 16 # Rules to configure and make the package. |
pascal@21810 | 17 compile_rules() |
pascal@21810 | 18 { |
pascal@21810 | 19 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@21810 | 20 } |
pascal@21810 | 21 |
pascal@21810 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21810 | 23 genpkg_rules() |
pascal@21810 | 24 { |
pascal@21810 | 25 cp -a $install/usr $fs/ |
pascal@21810 | 26 } |