wok rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents 365a61a60277
children 49fea3305133
files libcaca-dev/receipt libcaca/description.txt libcaca/receipt
line diff
     1.1 --- a/libcaca-dev/receipt	Tue Mar 15 09:33:23 2022 +0100
     1.2 +++ b/libcaca-dev/receipt	Tue Mar 15 10:03:33 2022 +0100
     1.3 @@ -1,22 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcaca-dev"
     1.7 -VERSION="0.99.beta19"
     1.8 +VERSION="0.99.beta20"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Text mode graphics utilities development files."
    1.11 +SHORT_DESC="Text mode graphics utilities - development files."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    1.15 -WANTED="libcaca"
    1.16  
    1.17  DEPENDS="libcaca pkg-config"
    1.18 +WANTED="libcaca"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.27 +	get_dev_files
    1.28  }
    1.29  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libcaca/description.txt	Tue Mar 15 10:03:33 2022 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +Libcaca is a graphics library that outputs text instead of pixels,
     2.5 +so that it can work on older video cards or text terminals.
     2.6 +It is not unlike the famous AAlib library, with the following improvements:
     2.7 +
     2.8 +* Unicode support
     2.9 +* 2048 available colours (some devices can only handle 16)
    2.10 +* dithering of colour images
    2.11 +* advanced text canvas operations (blitting, rotations) 
    2.12 +
    2.13 +Libcaca works in a text terminal (and should thus work on all Unix systems
    2.14 +including Mac OS X) using the S-Lang or ncurses libraries.
     3.1 --- a/libcaca/receipt	Tue Mar 15 09:33:23 2022 +0100
     3.2 +++ b/libcaca/receipt	Tue Mar 15 10:03:33 2022 +0100
     3.3 @@ -1,17 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libcaca"
     3.7 -VERSION="0.99.beta19"
     3.8 +VERSION="0.99.beta20"
     3.9  CATEGORY="graphics"
    3.10  SHORT_DESC="Text mode graphics utilities."
    3.11  MAINTAINER="paul@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13 +WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    3.14 +
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    3.17 -WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
    3.18 +WGET_URL="https://github.com/cacalabs/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
    3.19  
    3.20 -DEPENDS="ncurses imlib2"
    3.21 -BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev"
    3.22 +DEPENDS="imlib2 ncurses"
    3.23 +BUILD_DEPENDS="automake imlib2-dev libtool ncurses-dev xorg-libX11-dev"
    3.24  
    3.25  # What is the latest version available today?
    3.26  current_version()
    3.27 @@ -23,27 +24,31 @@
    3.28  # Rules to configure and make the package.
    3.29  compile_rules()
    3.30  {
    3.31 -	cd $src
    3.32 -	./configure --prefix=/usr \
    3.33 +	./bootstrap &&
    3.34 +	./configure		\
    3.35 +		--prefix=/usr	\
    3.36  		$CONFIGURE_ARGS &&
    3.37 -	make
    3.38 -	make DESTDIR=$DESTDIR install
    3.39 +	make &&
    3.40 +	make install DESTDIR=$DESTDIR
    3.41  }
    3.42  
    3.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.44  genpkg_rules()
    3.45  {
    3.46  	# hack for missing iso8859-1 folder
    3.47 -	cook xorg-libX11
    3.48 +#	cook xorg-libX11
    3.49  
    3.50 -	mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
    3.51 -	cp -a $install/usr/bin $fs/usr	
    3.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.53 +	mkdir -p $fs/usr/lib
    3.54 +#	mkdir -p $fs/usr/share/X11/locale
    3.55 +
    3.56 +	cp -a $install/usr/bin		$fs/usr	
    3.57 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.58  	#cp -a $install/usr/lib/jni $fs/usr/lib
    3.59 -	cp -a $install/usr/share $fs/usr
    3.60 -	rm -rf $fs/usr/share/man
    3.61 +	cp -a $install/usr/share	$fs/usr
    3.62 +	rm -rf				$fs/usr/share/man
    3.63  	# hack for missing iso8859-1 folder
    3.64 -	cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
    3.65 -	$fs/usr/share/X11/locale
    3.66 +#	cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
    3.67 +#					$fs/usr/share/X11/locale
    3.68 +#	really needed?
    3.69  }
    3.70