wok-6.x view py3k3/receipt @ rev 21101
updated lensfun and lensfun-dev (0.2.5 -> 0.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 17:49:35 2019 +0100 (2019-03-18) |
parents | 05e8a6b1bd47 |
children | 52649f27a0da |
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-libXss ncursesw gdbm tk \
16 xorg-libXext"
17 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
18 ncursesw-dev liblzma-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 }