wok view pygtksourceview/receipt @ rev 21172

updated libedit and libedit-dev (3.0 -> 3.1)
author Hans-G?nter Theisgen
date Mon Apr 01 15:57:42 2019 +0100 (2019-04-01)
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 }