wok-next view pygtksourceview/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | d43bf7aae921 |
children | de355b69ea82 |
line source
1 # SliTaz package receipt v2.
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 LICENSE="GPL2"
9 WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev libxml2-dev"
15 SPLIT="pygtksourceview-dev"
17 compile_rules() {
18 CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
19 ./configure \
20 --disable-docs \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 pygtksourceview)
29 copy @std
30 DEPENDS="gdk-pixbuf glib gtk+ gtksourceview python pygtk pygobject"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }