wok annotate xfig/receipt @ rev 23696

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents abe6b9e04ee5
children bb1b4a4c5a46
rev   line source
pascal@11204 1 # SliTaz package receipt.
pascal@11204 2
pascal@11204 3 PACKAGE="xfig"
pascal@11204 4 VERSION="3.2.5b"
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@11204 9 TARBALL="$PACKAGE.$VERSION.full.tar.gz"
pascal@21799 10 WEB_SITE="https://www.xfig.org/"
pascal@11204 11 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
pascal@11204 12 SUGGESTED="transfig"
pascal@11204 13
pascal@11204 14 DEPENDS="jpeg libpng xorg xorg-libXp"
pascal@11204 15 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
pascal@11204 16 libpng-dev xorg-libXp"
pascal@11204 17
pascal@11204 18 # Rules to configure and make the package.
pascal@11204 19 compile_rules()
pascal@11204 20 {
pascal@11204 21 sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
pascal@11204 22 xmkmf &&
pascal@11204 23 make &&
pascal@11204 24 make DESTDIR=$DESTDIR install
pascal@11204 25 }
pascal@11204 26
pascal@11204 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11204 28 genpkg_rules()
pascal@11204 29 {
pascal@15601 30 cp -a $install/* $fs
pascal@11204 31 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig
pascal@11204 32 }