wok-next view pygtksourceview/receipt @ rev 15449
Up: edje (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:58:02 2013 +0100 (2013-11-05) |
parents | ade0a50b6a2d |
children | 0e7893ac206d |
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 }