wok view pygtksourceview/receipt @ rev 16573

slitaz-base-files: get ride of /var/run symlink in pre_install
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 19:14:33 2014 +0200 (2014-05-02)
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 }