wok annotate py3k-dev/receipt @ rev 24757

pkg-config: cheat configure
author Hans-G?nter Theisgen
date Fri Mar 18 06:53:58 2022 +0100 (2022-03-18)
parents 605c88c58754
children
rev   line source
pascal@1822 1 # SliTaz package receipt.
pascal@1822 2
pascal@1822 3 PACKAGE="py3k-dev"
pascal@20460 4 VERSION="3.7.0"
pascal@1822 5 CATEGORY="development"
pascal@1822 6 SHORT_DESC="The Python programming language devel files."
pascal@1822 7 MAINTAINER="pankso@slitaz.org"
pascal@15088 8 LICENSE="GPL"
pascal@1822 9 WANTED="py3k"
pascal@1822 10 SOURCE="Python"
pascal@20679 11 WEB_SITE="https://www.python.org/"
pascal@1822 12
pascal@15088 13 DEPENDS="py3k"
pascal@15088 14
pascal@1822 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1822 16 genpkg_rules()
pascal@1822 17 {
pascal@1822 18 mkdir -p $fs/usr/bin
pascal@15088 19 cp -a $install/usr/include $fs/usr
pascal@15088 20 cp -a $install/usr/bin/*-config $fs/usr/bin
pascal@1822 21 chmod 755 $fs/usr/bin/*-config
slaxemulator@9619 22 # in py3k package now
slaxemulator@9619 23 python_version=${VERSION:0:3}
slaxemulator@9619 24 rm $fs/usr/include/python${python_version}m/pyconfig.h
pascal@1822 25 }