wok-current view xfig/receipt @ rev 15187
slitaz-base-files: up 5.4.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 24 15:12:52 2013 +0300 (2013-08-24) |
parents | |
children | 23c3aed67cd9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfig"
4 VERSION="3.2.5b"
5 CATEGORY="x-window"
6 SHORT_DESC="Vector graphics editor for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.$VERSION.full.tar.gz"
9 WEB_SITE="http://www.xfig.org/"
10 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
11 SUGGESTED="transfig"
13 DEPENDS="jpeg libpng xorg xorg-libXp"
14 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
15 libpng-dev xorg-libXp"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv $PACKAGE.$VERSION $src 2> /dev/null
21 cd $src
22 sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
23 xmkmf &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/* $fs
32 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig
33 }