wok-next diff libcaca/receipt @ rev 19927

gegl: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:53:13 2017 +0200 (2017-10-14)
parents 15a7fc13b44d
children 0ec6086e21d6
line diff
     1.1 --- a/libcaca/receipt	Sun Nov 22 15:14:34 2015 +0000
     1.2 +++ b/libcaca/receipt	Sat Oct 14 23:53:13 2017 +0200
     1.3 @@ -1,42 +1,43 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libcaca"
     1.8  VERSION="0.99.beta19"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="Text mode graphics utilities."
    1.11 +SHORT_DESC="Text mode graphics utilities"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    1.18  WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses imlib2"
    1.21 -BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev"
    1.22 +BUILD_DEPENDS="zlib-dev xorg-libX11-dev mesa-dev ncurses-dev python imlib2-dev \
    1.23 +pango-dev doxygen cppunit-dev"
    1.24 +SPLIT="python-caca libcaca-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 -
    1.35 -	# hack for missing iso8859-1 folder
    1.36 -	cook xorg-libX11
    1.37 +	./configure $CONFIGURE_ARGS && make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
    1.44 -	cp -a $install/usr/bin $fs/usr	
    1.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 -	#cp -a $install/usr/lib/jni $fs/usr/lib
    1.47 -	cp -a $install/usr/share $fs/usr
    1.48 -	rm -rf $fs/usr/share/man
    1.49 -	# hack for missing iso8859-1 folder
    1.50 -	cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
    1.51 -	$fs/usr/share/X11/locale
    1.52 +	case $PACKAGE in
    1.53 +		libcaca)
    1.54 +			copy @std
    1.55 +			rm -rf $fs/usr/lib/python2.7/
    1.56 +			DEPENDS="imlib2 ncurses xorg-libX11 zlib"
    1.57 +			;;
    1.58 +		python-caca)
    1.59 +			copy *.py
    1.60 +			DEPENDS="libcaca python"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			DEPENDS="libcaca python-caca ncurses-dev xorg-libX11-dev \
    1.65 +			xorg-libXau-dev xorg-libXdmcp-dev xorg-libxcb-dev zlib-dev"
    1.66 +			;;
    1.67 +	esac
    1.68  }
    1.69 -