wok-next annotate pygtksourceview/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | d43bf7aae921 |
children | de355b69ea82 |
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@20513 | 14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev libxml2-dev" |
al@20443 | 15 SPLIT="pygtksourceview-dev" |
al@13721 | 16 |
al@20443 | 17 compile_rules() { |
al@13721 | 18 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)" |
al@20443 | 19 ./configure \ |
al@20443 | 20 --disable-docs \ |
al@20443 | 21 $CONFIGURE_ARGS && |
al@20443 | 22 fix libtool && |
al@13721 | 23 make && make install |
al@13721 | 24 } |
al@13721 | 25 |
al@20443 | 26 genpkg_rules() { |
al@20443 | 27 case $PACKAGE in |
al@20443 | 28 pygtksourceview) |
al@20443 | 29 copy @std |
al@20443 | 30 DEPENDS="gdk-pixbuf glib gtk+ gtksourceview python pygtk pygobject" |
al@20443 | 31 ;; |
al@20443 | 32 *-dev) |
al@20443 | 33 copy @dev |
al@20443 | 34 ;; |
al@20443 | 35 esac |
al@13721 | 36 } |