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

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents 6135577f4d08
children 401ca84be53a
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7.17"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language - development files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="PSL"
9 WEB_SITE="https://www.python.org/"
11 SOURCE="Python"
12 DEPENDS="python"
13 WANTED="python"
15 HOST_ARCH="i486 arm"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin
22 cp -a $install/usr/include $fs/usr
23 cp -a $install/usr/bin/*-config $fs/usr/bin
24 chmod 755 $fs/usr/bin/*-config
26 # in python package now
27 python_version=${VERSION:0:3}
28 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
29 }