wok-current view python-mechanize/receipt @ rev 17191
Add tsocks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 06 15:05:57 2014 +0200 (2014-10-06) |
parents | fd4f1e692109 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mechanize"
4 VERSION="0.2.5"
5 SOURCE="mechanize"
6 CATEGORY="network"
7 SHORT_DESC="Stateful programmatic web browsing in Python."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/"
12 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python-distribute"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 python setup.py install --root="$DESTDIR" --optimize=1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }