wok-6.x view py3k-dev/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 605c88c58754 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-dev"
4 VERSION="3.7.0"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language devel files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WANTED="py3k"
10 SOURCE="Python"
11 WEB_SITE="https://www.python.org/"
13 DEPENDS="py3k"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin
19 cp -a $install/usr/include $fs/usr
20 cp -a $install/usr/bin/*-config $fs/usr/bin
21 chmod 755 $fs/usr/bin/*-config
22 # in py3k package now
23 python_version=${VERSION:0:3}
24 rm $fs/usr/include/python${python_version}m/pyconfig.h
25 }