wok diff amsn/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 5f6c5106b1f5
children c5245e11296b
line diff
     1.1 --- a/amsn/receipt	Mon Jan 31 11:41:46 2022 +0000
     1.2 +++ b/amsn/receipt	Sun May 01 08:42:44 2022 +0000
     1.3 @@ -3,19 +3,20 @@
     1.4  PACKAGE="amsn"
     1.5  VERSION="0.98.9"
     1.6  CATEGORY="network"
     1.7 +TAGS="chat messenger im"
     1.8  SHORT_DESC="Alvaro's Messenger"
     1.9  MAINTAINER="erjo@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="http://amsn-project.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 -TAGS="chat messenger im"
    1.16  
    1.17 -DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    1.18 -xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
    1.19 -BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
    1.20 -xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.21 -xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
    1.22 +DEPENDS="glib jpeg libpng libv4l tk tls xorg-libICE xorg-libSM xorg-libX11
    1.23 +	xorg-libXau xorg-libXdmcp xorg-libXss zlib"
    1.24 +BUILD_DEPENDS="findutils glib-dev jpeg-dev libpng-dev libv4l-dev tcl-dev
    1.25 +	tk-dev tls xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev
    1.26 +	xorg-libXau-dev xorg-libXdmcp-dev xorg-libXss-dev zlib-dev"
    1.27  
    1.28  # What is the latest version available today?
    1.29  current_version()
    1.30 @@ -28,24 +29,31 @@
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	cd $src
    1.35  	sed -i 's|uname -m|echo i486|' Makefile*
    1.36 -	patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
    1.37 +	# Does not compile with this modification since 2022-01-31
    1.38 +	# Does it work properly without?
    1.39 +#	patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
    1.40  	patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
    1.41 -	./configure --prefix=/usr \
    1.42 -	 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
    1.43 -	make && \
    1.44 -	make DESTDIR=$DESTDIR install
    1.45 +	./configure			\
    1.46 +		--prefix=/usr		\
    1.47 +		--with-tcl=/usr/lib	\
    1.48 +		$CONFIGURE_ARGS &&
    1.49 +	make &&
    1.50 +	make install DESTDIR=$DESTDIR
    1.51  }
    1.52  
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56  	mkdir -p $fs/usr
    1.57 -	cp -a $install/usr/bin $fs/usr
    1.58 -	cp -a $install/usr/share $fs/usr
    1.59 -	for ext in png xml css; do
    1.60 +
    1.61 +	cp -a $install/usr/bin		$fs/usr
    1.62 +	cp -a $install/usr/lib		$fs/usr
    1.63 +	cp -a $install/usr/share	$fs/usr
    1.64 +
    1.65 +	# fix permissions
    1.66 +	for ext in png xml css
    1.67 +	  do
    1.68  		find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
    1.69 -	done
    1.70 +	  done
    1.71  }
    1.72 -