wok diff python-cffi/receipt @ rev 24026
created recipe for os-prober
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 24 16:16:25 2021 +0100 (2021-03-24) |
parents | |
children | 2f230197370e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-cffi/receipt Wed Mar 24 16:16:25 2021 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-cffi" 1.7 +VERSION="1.12.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="C Foreign Function Interface for Python" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://cffi.readthedocs.io/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz#sha256=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774" 1.15 + 1.16 +DEPENDS="python" 1.17 +BUILD_DEPENDS="python-setuptools python-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py install --prefix=/usr --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + cp -a $install/usr $fs/ 1.29 +}