wok-6.x diff pygtksourceview/receipt @ rev 14134

add d-feet, a dbus debugger
author ernia <monghitri@aruba.it>
date Thu Feb 28 19:28:34 2013 +0000 (2013-02-28)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pygtksourceview/receipt	Thu Feb 28 19:28:34 2013 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pygtksourceview"
     1.7 +VERSION="2.10.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Python bindings for GtkSourceView"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14 +
    1.15 +DEPENDS="python pygtk gtksourceview pygobject"
    1.16 +BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
    1.17 +libxml2-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
    1.23 +	./configure $CONFIGURE_ARGS --disable-docs &&
    1.24 +	make && make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	LIBDIR="usr/lib/python2.7/site-packages"
    1.31 +	mkdir -p $fs/$LIBDIR
    1.32 +	cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
    1.33 +}