wok view python-dev/receipt @ rev 24419
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 11:14:46 2022 +0000 (2022-02-11) |
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 }