wok-6.x view python-dev/receipt @ rev 23570

added recipe for python-twodict
author Hans-G?nter Theisgen
date Tue Apr 07 09:38:04 2020 +0100 (2020-04-07)
parents fb9df69f8567
children 0e3b43ca38e6
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7.15"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language devel files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="PSL"
9 WANTED="python"
10 SOURCE="Python"
11 WEB_SITE="https://www.python.org/"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin
20 cp -a $install/usr/include $fs/usr
21 cp -a $install/usr/bin/*-config $fs/usr/bin
22 chmod 755 $fs/usr/bin/*-config
23 # in python package now
24 python_version=${VERSION:0:3}
25 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
26 }