wok-current view pygtksourceview/receipt @ rev 13774

0install: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 03 15:04:05 2013 +0100 (2013-01-03)
parents
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtksourceview"
4 VERSION="2.10.1"
5 CATEGORY="misc"
6 SHORT_DESC="Python bindings for GtkSourceView"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="python pygtk gtksourceview pygobject"
13 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
14 libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
20 ./configure $CONFIGURE_ARGS --disable-docs &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LIBDIR="usr/lib/python2.7/site-packages"
28 mkdir -p $fs/$LIBDIR
29 cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
30 }