wok diff python-cffi/receipt @ rev 22802

freetype: add freetype-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 28 09:23:39 2020 +0100 (2020-01-28)
parents
children 2f230197370e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-cffi/receipt	Tue Jan 28 09:23:39 2020 +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 +}