wok-next view py3k/receipt @ rev 18116
Format few descriptions (EOL at the end, 80 symbols length lines)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 07 00:27:07 2015 +0300 (2015-06-07) |
parents | a6a127d9957f |
children | 3d39589d41a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k"
4 VERSION="3.2.2"
5 CATEGORY="development"
6 SHORT_DESC="The Python 3000 programming language."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Python"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.python.org/download/releases/3.2/"
12 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
14 DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \
15 tk xorg-libXext"
16 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
17 ncursesw-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/usr/lib/pkgconfig
23 ./configure --enable-shared \
24 --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 python_version=${VERSION:0:3}
34 mkdir -p $fs/usr/include/python${python_version}m
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 # needed for python3 to work
38 cp -a $install/usr/include/python${python_version}m/pyconfig.h \
39 $fs/usr/include/python${python_version}m
40 rm -f $fs/usr/bin/*-config
41 }