wok-current view python-mechanize/receipt @ rev 17927
xorg-base-fonts: try to fix packaging.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 11 17:49:13 2015 +0300 (2015-04-11) |
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 }