wok-6.x view python-mechanize/receipt @ rev 15277
libmikmod: configure want macintosh/_libmikmodversion.r
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 10:11:13 2013 +0000 (2013-09-26) |
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 }