wok diff libcaca/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents ede1d184d5c5
children 5db546345599
line diff
     1.1 --- a/libcaca/receipt	Mon Feb 14 17:51:14 2022 +0000
     1.2 +++ b/libcaca/receipt	Sat Apr 16 12:43:33 2022 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcaca"
     1.7 -VERSION="0.99.beta19"
     1.8 +VERSION="0.99.beta20"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Text mode graphics utilities."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://caca.zoy.org/wiki/libcaca"
    1.17 -WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL"
    1.18 +WGET_URL="https://github.com/cacalabs/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS="ncurses imlib2"
    1.21 -BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev"
    1.22 +DEPENDS="imlib2 ncurses"
    1.23 +BUILD_DEPENDS="automake imlib2-dev libtool ncurses-dev xorg-libX11-dev"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -23,27 +24,31 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	./configure --prefix=/usr \
    1.33 +	./bootstrap &&
    1.34 +	./configure		\
    1.35 +		--prefix=/usr	\
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make
    1.38 -	make DESTDIR=$DESTDIR install
    1.39 +	make &&
    1.40 +	make install DESTDIR=$DESTDIR
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46  	# hack for missing iso8859-1 folder
    1.47 -	cook xorg-libX11
    1.48 +#	cook xorg-libX11
    1.49  
    1.50 -	mkdir -p $fs/usr/lib $fs/usr/share/X11/locale
    1.51 -	cp -a $install/usr/bin $fs/usr	
    1.52 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.53 +	mkdir -p $fs/usr/lib
    1.54 +#	mkdir -p $fs/usr/share/X11/locale
    1.55 +
    1.56 +	cp -a $install/usr/bin		$fs/usr	
    1.57 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.58  	#cp -a $install/usr/lib/jni $fs/usr/lib
    1.59 -	cp -a $install/usr/share $fs/usr
    1.60 -	rm -rf $fs/usr/share/man
    1.61 +	cp -a $install/usr/share	$fs/usr
    1.62 +	rm -rf				$fs/usr/share/man
    1.63  	# hack for missing iso8859-1 folder
    1.64 -	cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
    1.65 -	$fs/usr/share/X11/locale
    1.66 +#	cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \
    1.67 +#					$fs/usr/share/X11/locale
    1.68 +#	really needed?
    1.69  }
    1.70