wok-current rev 24120

updated xfig (3.2.5b -> 3.2.8b)
author Hans-G?nter Theisgen
date Tue Oct 05 16:55:05 2021 +0100 (2021-10-05)
parents e9e5645c2329
children 4f597f0ebe41
files xfig/receipt
line diff
     1.1 --- a/xfig/receipt	Mon Oct 04 18:07:23 2021 +0000
     1.2 +++ b/xfig/receipt	Tue Oct 05 16:55:05 2021 +0100
     1.3 @@ -1,25 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xfig"
     1.7 -VERSION="3.2.5b"
     1.8 +VERSION="3.2.8b"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Vector graphics editor for X."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -TARBALL="$PACKAGE.$VERSION.full.tar.gz"
    1.14  WEB_SITE="https://www.xfig.org/"
    1.15 -WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
    1.16 +
    1.17 +TARBALL="$PACKAGE.$VERSION.tar.xz"
    1.18 +WGET_URL="$SF_MIRROR/sourceforge/mcj/$TARBALL"
    1.19  SUGGESTED="transfig"
    1.20  
    1.21 -DEPENDS="jpeg libpng xorg xorg-libXp"
    1.22 -BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
    1.23 -libpng-dev xorg-libXp"
    1.24 +DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp"
    1.25 +BUILD_DEPENDS="spl-src xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
    1.26 +	libpng-dev xorg-libXaw3d-dev xorg-libXp"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
    1.32 -	xmkmf &&
    1.33 +	# obsolete with 3.2.8b
    1.34 +#	sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
    1.35 +#	xmkmf
    1.36 +	configure		\
    1.37 +		--prefix=/usr	\
    1.38 +		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40  	make DESTDIR=$DESTDIR install
    1.41  }
    1.42 @@ -27,6 +32,9 @@
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	cp -a $install/* $fs
    1.47 -	sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig
    1.48 +	cp -a $install/*	$fs
    1.49 +	# many examples in /usr/share/xfig/Libraries appr. 16 MiB
    1.50 +
    1.51 +	sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/'	\
    1.52 +		$fs/usr/share/X11/app-defaults/Fig
    1.53  }