wok view pygtksourceview/receipt @ rev 13721

Add cherrytree: A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:15:57 2012 +0000 (2012-12-21)
parents
children 380ffe05937a
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 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="python pygtk gtksourceview pygobject"
13 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
14 libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
20 ./configure $CONFIGURE_ARGS --disable-docs &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LIBDIR="usr/lib/python2.7/site-packages"
28 mkdir -p $fs/$LIBDIR
29 cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
30 }