wok-next rev 20049
Up transfig (3.2.6a)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 12:45:07 2017 +0200 (2017-10-23) |
parents | 05e178121827 |
children | fe5c6d5a50f0 |
files | transfig/receipt wxpython/receipt xfig/receipt xmgrace/receipt |
line diff
1.1 --- a/transfig/receipt Mon Oct 23 11:08:01 2017 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,35 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="transfig" 1.7 -VERSION="3.2.5d" 1.8 -CATEGORY="x-window" 1.9 -SHORT_DESC="Utilities for converting XFig figure files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="BSD" 1.12 -TARBALL="$PACKAGE.$VERSION.tar.gz" 1.13 -WEB_SITE="http://www.xfig.org/" 1.14 -WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL" 1.15 - 1.16 -DEPENDS="xorg xorg-libXpm libpng zlib" 1.17 -BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev" 1.18 - 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 - sed -i 's|/usr/local|/usr|' */*akefile 1.23 - # Update for libpng > 1.5 1.24 - sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' fig2dev/dev/readpng.c 1.25 - sed -i 's|info_ptr->valid|png_get_valid(png_ptr,info_ptr,PNG_INFO_gAMA)|' fig2dev/dev/readpng.c 1.26 - sed -i 's/png_ptr->gamma/png_gamma(png_ptr)/' fig2dev/dev/readpng.c 1.27 - sed -i '/info_ptr->gamma/{s/info_ptr->//;s/^.*/{ double gamma;\npng_get_gAMA(png_ptr, info_ptr, \&gamma);\n& }/}' fig2dev/dev/readpng.c 1.28 - xmkmf && 1.29 - make Makefiles && 1.30 - make && 1.31 - make DESTDIR=$DESTDIR install 1.32 -} 1.33 - 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 - cp -a $install/* $fs 1.38 -}
2.1 --- a/wxpython/receipt Mon Oct 23 11:08:01 2017 +0200 2.2 +++ b/wxpython/receipt Mon Oct 23 12:45:07 2017 +0200 2.3 @@ -12,7 +12,7 @@ 2.4 WGET_URL="$SF_MIRROR/wxpython/$TARBALL" 2.5 2.6 DEPENDS="python wxWidgets28" 2.7 -BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev" 2.8 +BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev libglu-mesa-dev" 2.9 2.10 # Rules to configure and make the package. 2.11 compile_rules()
3.1 --- a/xfig/receipt Mon Oct 23 11:08:01 2017 +0200 3.2 +++ b/xfig/receipt Mon Oct 23 12:45:07 2017 +0200 3.3 @@ -1,7 +1,7 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="xfig" 3.8 -VERSION="3.2.6b" 3.9 +VERSION="3.2.6a" 3.10 CATEGORY="x-window" 3.11 SHORT_DESC="Vector graphics editor for X." 3.12 MAINTAINER="pascal.bellard@slitaz.org" 3.13 @@ -9,12 +9,11 @@ 3.14 TARBALL="$PACKAGE-full-$VERSION.tar.xz" 3.15 WEB_SITE="http://www.xfig.org/" 3.16 WGET_URL="https://downloads.sourceforge.net/mcj/files/$TARBALL" 3.17 -SUGGESTED="transfig" 3.18 3.19 -DEPENDS="jpeg libpng xorg xorg-libXp" 3.20 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \ 3.21 libpng-dev xorg-libXp xorg-libX11-dev xorg-libXt-dev xorg-libXpm-dev \ 3.22 -xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev" 3.23 +xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXt-dev" 3.24 +SPLIT="transfig" 3.25 3.26 # Rules to configure and make the package. 3.27 compile_rules() 3.28 @@ -23,11 +22,27 @@ 3.29 ./configure --prefix=/usr \ 3.30 $CONFIGURE_ARGS && 3.31 make && 3.32 - make DESTDIR=$DESTDIR install 3.33 + make DESTDIR=$DESTDIR/xfig install 3.34 + cd $src/fig2dev-$VERSION 3.35 + ./configure --prefix=/usr \ 3.36 + $CONFIGURE_ARGS && 3.37 + make && 3.38 + make DESTDIR=$DESTDIR/transfig install 3.39 } 3.40 3.41 # Rules to gen a SliTaz package suitable for Tazpkg. 3.42 genpkg_rules() 3.43 { 3.44 - cp -a $install/* $fs 3.45 + case $PACKAGE in 3.46 + xfig) 3.47 + SUGGESTED="transfig" 3.48 + DEPENDS="jpeg libpng xorg xorg-libXp" 3.49 + cp -a $install/xfig/* $fs 3.50 + ;; 3.51 + transfig) 3.52 + CAT="x-window|Utilities for converting XFig figure files." 3.53 + DEPENDS="xorg xorg-libXpm libpng zlib" 3.54 + cp -a $install/transfig/* $fs 3.55 + ;; 3.56 + esac 3.57 }
4.1 --- a/xmgrace/receipt Mon Oct 23 11:08:01 2017 +0200 4.2 +++ b/xmgrace/receipt Mon Oct 23 12:45:07 2017 +0200 4.3 @@ -12,7 +12,8 @@ 4.4 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL" 4.5 4.6 DEPENDS="libjpeg libpng fftw lesstif" 4.7 -BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison" 4.8 +BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison \ 4.9 +xorg-libXt-dev" 4.10 4.11 compile_rules() 4.12 {