wok-stable diff xfig/receipt @ rev 12256

Up: slitaz-configs (1.9.2) Fix web homepage
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 10 19:35:09 2012 +0200 (2012-04-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfig/receipt	Tue Apr 10 19:35:09 2012 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfig"
     1.7 +VERSION="3.2.5b"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Vector graphics editor for X."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE.$VERSION.full.tar.gz"
    1.12 +WEB_SITE="http://www.xfig.org/"
    1.13 +WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
    1.14 +SUGGESTED="transfig"
    1.15 +
    1.16 +DEPENDS="jpeg libpng xorg xorg-libXp"
    1.17 +BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
    1.18 +libpng-dev xorg-libXp"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mv $PACKAGE.$VERSION $src 2> /dev/null
    1.24 +	cd $src
    1.25 +	sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
    1.26 +	xmkmf &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	cp -a $_pkg/* $fs
    1.35 +	sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig
    1.36 +}