wok view py3k-dev/receipt @ rev 9954
elink: fix receipt path and build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 14:56:30 2011 +0200 (2011-05-18) |
parents | 7e8643eb98dd |
children | 451fc310dda0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-dev"
4 VERSION="3.2"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language devel files."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="py3k"
9 WANTED="py3k"
10 SOURCE="Python"
11 WEB_SITE="http://www.python.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin
17 cp -a $_pkg/usr/include $fs/usr
18 cp -a $_pkg/usr/bin/*-config $fs/usr/bin
19 chmod 755 $fs/usr/bin/*-config
20 # in py3k package now
21 python_version=${VERSION:0:3}
22 rm $fs/usr/include/python${python_version}m/pyconfig.h
23 }