wok annotate pygtksourceview/receipt @ rev 20347
libassuan update: 2.4.2 (2015 Dec) -> 2.5.1 (2017 Dec)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 10:38:15 2018 +0000 (2018-06-09) |
parents | ade0a50b6a2d |
children | 6831608a1b2a |
rev | line source |
---|---|
al@13721 | 1 # SliTaz package receipt. |
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@13721 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@13721 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@13721 | 12 |
al@13721 | 13 DEPENDS="python pygtk gtksourceview pygobject" |
al@13721 | 14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \ |
al@13721 | 15 libxml2-dev" |
al@13721 | 16 |
al@13721 | 17 # Rules to configure and make the package. |
al@13721 | 18 compile_rules() |
al@13721 | 19 { |
al@13721 | 20 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)" |
al@13721 | 21 ./configure $CONFIGURE_ARGS --disable-docs && |
al@13721 | 22 make && make install |
al@13721 | 23 } |
al@13721 | 24 |
al@13721 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13721 | 26 genpkg_rules() |
al@13721 | 27 { |
al@13721 | 28 LIBDIR="usr/lib/python2.7/site-packages" |
al@13721 | 29 mkdir -p $fs/$LIBDIR |
al@13721 | 30 cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR |
al@13721 | 31 } |