wok-next diff python/receipt @ rev 9467
Fix receipts that remove lines that removed .pyc and .pyo files. Tazwok does that now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 03 14:11:25 2011 +0000 (2011-04-03) |
parents | 5018a93309ab |
children | 02bbaa9d12ba |
line diff
1.1 --- a/python/receipt Wed Dec 01 15:49:29 2010 +0100 1.2 +++ b/python/receipt Sun Apr 03 14:11:25 2011 +0000 1.3 @@ -7,7 +7,6 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 SOURCE="Python" 1.6 DEPENDS="openssl bzlib readline sqlite zlib ncursesw" 1.7 -BUILD_DEPENDS="$DEPENDS readline-dev openssl-dev ncursesw-dev" 1.8 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.9 WEB_SITE="http://www.python.org/" 1.10 WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL" 1.11 @@ -16,11 +15,9 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - ./configure --enable-shared --with-ncurses \ 1.16 - --prefix=/usr --infodir=/usr/share/info \ 1.17 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.18 + ./configure --enable-shared --with-ncurses && 1.19 make && 1.20 - make DESTDIR=$PWD/_pkg install 1.21 + make DESTDIR=$DESTDIR install 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 @@ -33,8 +30,6 @@ 1.26 # needed for mericurial to work now 1.27 cp -a $_pkg/usr/include/${PACKAGE}$python_version/pyconfig.h \ 1.28 $fs/usr/include/${PACKAGE}$python_version 1.29 - find $fs/usr/lib/${PACKAGE}$python_version -name "*.pyc" -delete 1.30 - find $fs/usr/lib/${PACKAGE}$python_version -name "*.pyo" -delete 1.31 rm -f $fs/usr/bin/*-config 1.32 strip -s $fs/usr/bin/* 2>/dev/null 1.33 strip -s $fs/usr/lib/*.so* 2>/dev/null