wok-next annotate xfig/receipt @ rev 12199

udev: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 26 17:11:49 2012 +0200 (2012-03-26)
parents
children 23c3aed67cd9
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@11204 8 TARBALL="$PACKAGE.$VERSION.full.tar.gz"
pascal@11204 9 WEB_SITE="http://www.xfig.org/"
pascal@11204 10 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
pascal@11204 11 SUGGESTED="transfig"
pascal@11204 12
pascal@11204 13 DEPENDS="jpeg libpng xorg xorg-libXp"
pascal@11204 14 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
pascal@11204 15 libpng-dev xorg-libXp"
pascal@11204 16
pascal@11204 17 # Rules to configure and make the package.
pascal@11204 18 compile_rules()
pascal@11204 19 {
pascal@11204 20 mv $PACKAGE.$VERSION $src 2> /dev/null
pascal@11204 21 cd $src
pascal@11204 22 sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
pascal@11204 23 xmkmf &&
pascal@11204 24 make &&
pascal@11204 25 make DESTDIR=$DESTDIR install
pascal@11204 26 }
pascal@11204 27
pascal@11204 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11204 29 genpkg_rules()
pascal@11204 30 {
pascal@11204 31 cp -a $_pkg/* $fs
pascal@11204 32 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig
pascal@11204 33 }