wok-current view python-mechanize/receipt @ rev 15911
pango: girepository-1.0 goes in dev package (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:09:14 2014 +0100 (2014-02-15) |
parents | f60a7befb1e7 |
children | 7d672a2330b8 |
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"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-distribute"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root="$DESTDIR" --optimize=1
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }