wok-6.x view pygtksourceview/receipt @ rev 15279
mono: remove a wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 12:00:30 2013 +0000 (2013-09-26) |
parents | ade0a50b6a2d |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtksourceview"
4 VERSION="2.10.1"
5 CATEGORY="misc"
6 SHORT_DESC="Python bindings for GtkSourceView"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python pygtk gtksourceview pygobject"
14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
15 libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
21 ./configure $CONFIGURE_ARGS --disable-docs &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 LIBDIR="usr/lib/python2.7/site-packages"
29 mkdir -p $fs/$LIBDIR
30 cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
31 }