wok-6.x annotate python-pygame-dev/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (23 months ago)
parents 870e1ce31226
children
rev   line source
pankso@10833 1 # SliTaz package receipt.
pankso@10833 2
pankso@10833 3 PACKAGE="python-pygame-dev"
pankso@10833 4 VERSION="1.9.1release"
pankso@10833 5 CATEGORY="development"
pankso@10833 6 SHORT_DESC="Python game development files."
pankso@10833 7 MAINTAINER="claudinei@slitaz.org"
pascal@15378 8 LICENSE="LGPL"
pascal@25449 9 WEB_SITE="https://pypi.org/project/pygame/"
pankso@10833 10 WANTED="python-pygame"
pankso@10833 11
pankso@10833 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10833 13 genpkg_rules()
pankso@10833 14 {
pankso@10833 15 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@10833 16 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
pankso@10833 17 cp -a $install/usr/include $fs/usr
pankso@10833 18 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \
pankso@10833 19 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
pankso@10833 20 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \
pankso@10833 21 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
pankso@10833 22 }
al@18086 23