wok rev 24344

modified amsn-0.98.9
author Hans-G?nter Theisgen
date Wed Feb 02 09:02:52 2022 +0100 (2022-02-02)
parents 2d5e684a8df9
children db8736607303
files amsn/description.txt amsn/receipt
line diff
     1.1 --- a/amsn/description.txt	Mon Jan 31 14:36:35 2022 +0100
     1.2 +++ b/amsn/description.txt	Wed Feb 02 09:02:52 2022 +0100
     1.3 @@ -1,3 +1,4 @@
     1.4 -A very nice MSN compatible messenger application. Works pretty much like its 
     1.5 -Windows based counterpart. Perfect for keeping in touch with those friends 
     1.6 +A very nice MSN compatible messenger application.
     1.7 +Works pretty much like its Windows based counterpart.
     1.8 +Perfect for keeping in touch with those friends 
     1.9  who have not yet seen the light.
     2.1 --- a/amsn/receipt	Mon Jan 31 14:36:35 2022 +0100
     2.2 +++ b/amsn/receipt	Wed Feb 02 09:02:52 2022 +0100
     2.3 @@ -3,19 +3,20 @@
     2.4  PACKAGE="amsn"
     2.5  VERSION="0.98.9"
     2.6  CATEGORY="network"
     2.7 +TAGS="chat messenger im"
     2.8  SHORT_DESC="Alvaro's Messenger"
     2.9  MAINTAINER="erjo@slitaz.org"
    2.10  LICENSE="GPL2"
    2.11  WEB_SITE="http://amsn-project.net/"
    2.12 +
    2.13  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    2.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 -TAGS="chat messenger im"
    2.16  
    2.17 -DEPENDS="tk glib tls jpeg xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    2.18 -xorg-libXdmcp xorg-libXss zlib libpng libv4l gcc-lib-base"
    2.19 -BUILD_DEPENDS="tls glib-dev tcl-dev tk-dev jpeg-dev xorg-libICE-dev \
    2.20 -xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    2.21 -xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
    2.22 +DEPENDS="glib jpeg libpng libv4l tk tls xorg-libICE xorg-libSM xorg-libX11
    2.23 +	xorg-libXau xorg-libXdmcp xorg-libXss zlib"
    2.24 +BUILD_DEPENDS="findutils glib-dev jpeg-dev libpng-dev libv4l-dev tcl-dev
    2.25 +	tk-dev tls xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev
    2.26 +	xorg-libXau-dev xorg-libXdmcp-dev xorg-libXss-dev zlib-dev"
    2.27  
    2.28  # What is the latest version available today?
    2.29  current_version()
    2.30 @@ -28,24 +29,31 @@
    2.31  # Rules to configure and make the package.
    2.32  compile_rules()
    2.33  {
    2.34 -	cd $src
    2.35  	sed -i 's|uname -m|echo i486|' Makefile*
    2.36 -	patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
    2.37 +	# Does not compile with this modification since 2022-01-31
    2.38 +	# Does it work properly without?
    2.39 +#	patch -Np0 -i $stuff/$PACKAGE-v4l2.patch
    2.40  	patch -Np0 -i $stuff/$PACKAGE-0.98.9-no-rebuild-on-install.patch
    2.41 -	./configure --prefix=/usr \
    2.42 -	 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
    2.43 -	make && \
    2.44 -	make DESTDIR=$DESTDIR install
    2.45 +	./configure			\
    2.46 +		--prefix=/usr		\
    2.47 +		--with-tcl=/usr/lib	\
    2.48 +		$CONFIGURE_ARGS &&
    2.49 +	make &&
    2.50 +	make install DESTDIR=$DESTDIR
    2.51  }
    2.52  
    2.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.54  genpkg_rules()
    2.55  {
    2.56  	mkdir -p $fs/usr
    2.57 -	cp -a $install/usr/bin $fs/usr
    2.58 -	cp -a $install/usr/share $fs/usr
    2.59 -	for ext in png xml css; do
    2.60 +
    2.61 +	cp -a $install/usr/bin		$fs/usr
    2.62 +	cp -a $install/usr/lib		$fs/usr
    2.63 +	cp -a $install/usr/share	$fs/usr
    2.64 +
    2.65 +	# fix permissions
    2.66 +	for ext in png xml css
    2.67 +	  do
    2.68  		find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \;
    2.69 -	done
    2.70 +	  done
    2.71  }
    2.72 -