wok view python-mechanize/receipt @ rev 14751

busybox-boot: create /usr/share/boot/initrd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 19:48:35 2013 +0200 (2013-06-16)
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 }