wok-next view pygtksourceview/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 380ffe05937a |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
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"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
15 libxml2-dev"
16 SPLIT="pygtksourceview-dev"
18 compile_rules() {
19 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
20 fix ld
21 ./configure \
22 --disable-docs \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make && make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 pygtksourceview)
31 copy @std
32 DEPENDS="gdk-pixbuf glib gtk+ gtksourceview python pygtk pygobject"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="pkg-config"
37 ;;
38 esac
39 }