wok-next view py3k3/receipt @ rev 19980
Up libva (1.8.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:39:08 2017 +0300 (2017-10-18) |
parents | 4f0a4c5ae776 |
children | 2809ecb8c754 |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k3"
4 VERSION="3.3.6"
5 CATEGORY="development"
6 SHORT_DESC="The Python 3000 programming language."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 SOURCE="Python"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="https://www.python.org/download/releases/"
12 WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
13 PROVIDE="py3k"
15 DEPENDS="openssl bzlib readline sqlite zlib xorg-libXScrnSaver ncurses gdbm tk \
16 xorg-libXext"
17 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
18 ncurses-dev liblzma-dev bzip2-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir -p $DESTDIR/usr/lib/pkgconfig
24 ./configure --enable-shared \
25 --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 python_version=${VERSION:0:3}
35 mkdir -p $fs/usr/include/python${python_version}m
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 # needed for python3 to work
39 cp -a $install/usr/include/python${python_version}m/pyconfig.h \
40 $fs/usr/include/python${python_version}m
41 rm -f $fs/usr/bin/*-config
42 }