wok view python-mechanize/receipt @ rev 14991

Up: expedite (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Fri Aug 09 22:18:24 2013 +0200 (2013-08-09)
parents
children fd4f1e692109
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 TARBALL="${SOURCE}-${VERSION}.tar.gz"
10 WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/"
11 WGET_URL="http://pypi.python.org/packages/source/m/mechanize/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python-distribute"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root="$DESTDIR" --optimize=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 }