wok-next annotate 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
rev   line source
al@20443 1 # SliTaz package receipt v2.
al@13721 2
al@13721 3 PACKAGE="pygtksourceview"
al@13721 4 VERSION="2.10.1"
al@13721 5 CATEGORY="misc"
al@13721 6 SHORT_DESC="Python bindings for GtkSourceView"
al@13721 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@13721 9 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
al@20443 10
al@13721 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@13721 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
al@13721 13
al@13721 14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
al@13721 15 libxml2-dev"
al@20443 16 SPLIT="pygtksourceview-dev"
al@13721 17
al@20443 18 compile_rules() {
al@13721 19 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
al@20443 20 fix ld
al@20443 21 ./configure \
al@20443 22 --disable-docs \
al@20443 23 $CONFIGURE_ARGS &&
al@20443 24 fix libtool &&
al@13721 25 make && make install
al@13721 26 }
al@13721 27
al@20443 28 genpkg_rules() {
al@20443 29 case $PACKAGE in
al@20443 30 pygtksourceview)
al@20443 31 copy @std
al@20443 32 DEPENDS="gdk-pixbuf glib gtk+ gtksourceview python pygtk pygobject"
al@20443 33 ;;
al@20443 34 *-dev)
al@20443 35 copy @dev
al@20443 36 DEPENDS="pkg-config"
al@20443 37 ;;
al@20443 38 esac
al@13721 39 }