wok-next diff pygtksourceview/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 380ffe05937a
children d43bf7aae921
line diff
     1.1 --- a/pygtksourceview/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/pygtksourceview/receipt	Sat Feb 24 16:17:33 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pygtksourceview"
     1.8  VERSION="2.10.1"
     1.9 @@ -7,25 +7,33 @@
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16  
    1.17 -DEPENDS="python pygtk gtksourceview pygobject"
    1.18  BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
    1.19  libxml2-dev"
    1.20 +SPLIT="pygtksourceview-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
    1.27 -	./configure $CONFIGURE_ARGS --disable-docs &&
    1.28 +	fix ld
    1.29 +	./configure \
    1.30 +		--disable-docs \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	fix libtool &&
    1.33  	make && make install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	LIBDIR="usr/lib/python2.7/site-packages"
    1.40 -	mkdir -p $fs/$LIBDIR
    1.41 -	cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
    1.42 +genpkg_rules() {
    1.43 +	case $PACKAGE in
    1.44 +		pygtksourceview)
    1.45 +			copy @std
    1.46 +			DEPENDS="gdk-pixbuf glib gtk+ gtksourceview   python pygtk pygobject"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			DEPENDS="pkg-config"
    1.51 +			;;
    1.52 +	esac
    1.53  }