wok annotate pygtksourceview/receipt @ rev 14773

Up musl-libc (0.9.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 10:13:50 2013 +0200 (2013-06-30)
parents
children 380ffe05937a
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"
al@13721 8 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
al@13721 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@13721 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
al@13721 11
al@13721 12 DEPENDS="python pygtk gtksourceview pygobject"
al@13721 13 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
al@13721 14 libxml2-dev"
al@13721 15
al@13721 16 # Rules to configure and make the package.
al@13721 17 compile_rules()
al@13721 18 {
al@13721 19 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
al@13721 20 ./configure $CONFIGURE_ARGS --disable-docs &&
al@13721 21 make && make install
al@13721 22 }
al@13721 23
al@13721 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13721 25 genpkg_rules()
al@13721 26 {
al@13721 27 LIBDIR="usr/lib/python2.7/site-packages"
al@13721 28 mkdir -p $fs/$LIBDIR
al@13721 29 cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
al@13721 30 }