wok annotate xfig/receipt @ rev 24122

updated xfig again (3.2.5b -> 3.2.8b)
author Hans-G?nter Theisgen
date Tue Oct 05 17:12:25 2021 +0100 (2021-10-05)
parents 4f597f0ebe41
children 271622a4c4d7
rev   line source
pascal@11204 1 # SliTaz package receipt.
pascal@11204 2
pascal@11204 3 PACKAGE="xfig"
Hans-G?nter@24120 4 VERSION="3.2.8b"
pascal@11204 5 CATEGORY="x-window"
pascal@11204 6 SHORT_DESC="Vector graphics editor for X."
pascal@11204 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="MIT"
pascal@21799 9 WEB_SITE="https://www.xfig.org/"
Hans-G?nter@24120 10
Hans-G?nter@24121 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@24120 12 WGET_URL="$SF_MIRROR/sourceforge/mcj/$TARBALL"
pascal@11204 13 SUGGESTED="transfig"
pascal@11204 14
Hans-G?nter@24120 15 DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp"
Hans-G?nter@24120 16 BUILD_DEPENDS="spl-src xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
Hans-G?nter@24120 17 libpng-dev xorg-libXaw3d-dev xorg-libXp"
pascal@11204 18
pascal@11204 19 # Rules to configure and make the package.
pascal@11204 20 compile_rules()
pascal@11204 21 {
Hans-G?nter@24120 22 # obsolete with 3.2.8b
Hans-G?nter@24120 23 # sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
Hans-G?nter@24120 24 # xmkmf
Hans-G?nter@24122 25 ./configure \
Hans-G?nter@24120 26 --prefix=/usr \
Hans-G?nter@24120 27 $CONFIGURE_ARGS &&
pascal@11204 28 make &&
pascal@11204 29 make DESTDIR=$DESTDIR install
pascal@11204 30 }
pascal@11204 31
pascal@11204 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11204 33 genpkg_rules()
pascal@11204 34 {
Hans-G?nter@24120 35 cp -a $install/* $fs
Hans-G?nter@24120 36 # many examples in /usr/share/xfig/Libraries appr. 16 MiB
Hans-G?nter@24120 37
Hans-G?nter@24120 38 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' \
Hans-G?nter@24120 39 $fs/usr/share/X11/app-defaults/Fig
pascal@11204 40 }