wok-next view matplotlib/receipt @ rev 7154

Fixed virtualbox-ose to depend -a when installed. Also fixed 60-vboxguest.rules to not error if 'tazpkg reconfigure udev' is done.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 19:43:56 2010 +0000 (2010-11-06)
parents 90fa5e62d1ab
children 50f0ee69eb2b
line source
1 # SliTaz package receipt.
3 PACKAGE="matplotlib"
4 VERSION="0.99.1"
5 CATEGORY="graphics"
6 SHORT_DESC="2D plotting library for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://matplotlib.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \
12 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
13 xorg-libXinerama xorg-libXrandr xorg-libXrender pygtk gcc-lib-base"
14 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy \
15 pygtk-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 cp -a ../stuff/setup.cfg .
22 python setup.py build
23 python setup.py install --root=$PWD/_pkg
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 }