wok annotate 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
rev   line source
pascal@1822 1 # SliTaz package receipt.
pascal@1822 2
pascal@1822 3 PACKAGE="py3k"
slaxemulator@11027 4 VERSION="3.2.2"
pascal@1822 5 CATEGORY="development"
pascal@1822 6 SHORT_DESC="The Python 3000 programming language."
pascal@1822 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15088 8 LICENSE="GPL"
pascal@1822 9 SOURCE="Python"
pascal@1822 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@9619 11 WEB_SITE="http://www.python.org/download/releases/3.2/"
pascal@1822 12 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL"
pascal@1822 13
pascal@15088 14 DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \
pascal@15088 15 tk xorg-libXext"
pascal@15094 16 BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
pascal@15094 17 ncursesw-dev"
pascal@15088 18
pascal@1822 19 # Rules to configure and make the package.
pascal@1822 20 compile_rules()
pascal@1822 21 {
pascal@15094 22 mkdir -p $DESTDIR/usr/lib/pkgconfig
pascal@15094 23 ./configure --enable-shared \
pascal@1822 24 --prefix=/usr --infodir=/usr/share/info \
pascal@1822 25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1822 26 make &&
slaxemulator@11027 27 make DESTDIR=$DESTDIR install
pascal@1822 28 }
pascal@1822 29
pascal@1822 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1822 31 genpkg_rules()
pascal@1822 32 {
slaxemulator@9619 33 python_version=${VERSION:0:3}
slaxemulator@9619 34 mkdir -p $fs/usr/include/python${python_version}m
pascal@15088 35 cp -a $install/usr/bin $fs/usr
pascal@15088 36 cp -a $install/usr/lib $fs/usr
slaxemulator@9619 37 # needed for python3 to work
pascal@15088 38 cp -a $install/usr/include/python${python_version}m/pyconfig.h \
slaxemulator@9619 39 $fs/usr/include/python${python_version}m
pascal@1822 40 rm -f $fs/usr/bin/*-config
pascal@1822 41 }