wok-6.x rev 22941

updated icewm (1.3.8 -> 1.6.4)
author Hans-G?nter Theisgen
date Thu Feb 27 17:27:42 2020 +0100 (2020-02-27)
parents dac0b283fc41
children 0186662b0fe8
files icewm/receipt
line diff
     1.1 --- a/icewm/receipt	Thu Feb 27 15:22:59 2020 +0100
     1.2 +++ b/icewm/receipt	Thu Feb 27 17:27:42 2020 +0100
     1.3 @@ -1,34 +1,49 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icewm"
     1.7 -VERSION="1.3.8"
     1.8 +VERSION="1.6.4"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Ice Window Manager with Themes"
    1.11 +TAGS="window-manager"
    1.12 +SHORT_DESC="Ice Window Manager with Themes."
    1.13  MAINTAINER="devl547@gmail.com"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://ice-wm.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://ice-wm.org/"
    1.19 -WGET_URL="$SF_MIRROR/icewm/icewm-${VERSION%.*}/$VERSION/$TARBALL"
    1.20 -TAGS="window-manager"
    1.21 +WGET_URL="https://github.com/ice-wm/$PACKAGE/archive/v$VERSION.tar.gz"
    1.22  
    1.23 -BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
    1.24 -xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
    1.25 -xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
    1.26 -xorg-libXinerama xorg-libXinerama-dev \
    1.27 -xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
    1.28 -gdk-pixbuf-dev pkg-config"
    1.29 -DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm xorg-libXinerama \
    1.30 -xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
    1.31 -gdk-pixbuf gettext-base"
    1.32 +DEPENDS="freetype gcc83-lib-base gdk-pixbuf gettext-base imlib xorg-libICE 
    1.33 +	xorg-libSM xorg-libX11 xorg-libXext xorg-libXft xorg-libXinerama 
    1.34 +	xorg-libXpm xorg-libXrandr xorg-libXrender"
    1.35 +BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev gcc83 
    1.36 +	gdk-pixbuf-dev gettext giflib-dev imlib-dev libtool pkg-config 
    1.37 +	util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev 
    1.38 +	xorg-libXext-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev 
    1.39 +	xorg-libXrandr-dev xorg-libXrender-dev xorg-randrproto xorg-xextproto 
    1.40 +	xorg-xproto"
    1.41  
    1.42  # Rules to configure and make the package.
    1.43  compile_rules()
    1.44  {
    1.45 -	sed -i '/deprecated/d' src/base.h
    1.46 -	sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
    1.47 -	./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/icewm \
    1.48 -	 --localstatedir=/var --mandir=/usr/share/man \
    1.49 -	 $CONFIGURE_ARGS &&
    1.50 +#	sed -i '/deprecated/d' src/base.h
    1.51 +#	sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
    1.52 +
    1.53 +	export	LDFLAGS="$LDFLAGS -lrt"
    1.54 +
    1.55 +	./autogen.sh &&
    1.56 +	./configure				\
    1.57 +		ASCIIDOC=asciidoc		\
    1.58 +		CC=gcc-83			\
    1.59 +		CXX=g++-83			\
    1.60 +		--prefix=/usr			\
    1.61 +		--sysconfdir=/etc		\
    1.62 +		--libexecdir=/usr/lib/icewm	\
    1.63 +		--localstatedir=/var		\
    1.64 +		--mandir=/usr/share/man		\
    1.65 +		$CONFIGURE_ARGS &&
    1.66 +	# remove unsupported options for pod2man and pod2html (perl 5.14.1)
    1.67 +	sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \
    1.68 +		man/Makefile &&
    1.69  	make &&
    1.70  	make DESTDIR=$DESTDIR install
    1.71  }
    1.72 @@ -36,7 +51,8 @@
    1.73  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.74  genpkg_rules()
    1.75  {
    1.76 -	mkdir -p $fs/usr/
    1.77 -	cp -a $install/usr/bin $fs/usr
    1.78 -	cp -a $install/usr/share $fs/usr
    1.79 +	mkdir -p $fs/usr
    1.80 +
    1.81 +	cp -a $install/usr/bin		$fs/usr
    1.82 +	cp -a $install/usr/share	$fs/usr
    1.83  }