wok annotate xfig/receipt @ rev 20251
mixxx: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 18:00:41 2018 +0100 (2018-03-12) |
parents | 4bbada6faade |
children | abe6b9e04ee5 |
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@11204 | 10 WEB_SITE="http://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 mv $PACKAGE.$VERSION $src 2> /dev/null |
pascal@11204 | 22 cd $src |
pascal@11204 | 23 sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile |
pascal@11204 | 24 xmkmf && |
pascal@11204 | 25 make && |
pascal@11204 | 26 make DESTDIR=$DESTDIR install |
pascal@11204 | 27 } |
pascal@11204 | 28 |
pascal@11204 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11204 | 30 genpkg_rules() |
pascal@11204 | 31 { |
pascal@15601 | 32 cp -a $install/* $fs |
pascal@11204 | 33 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig |
pascal@11204 | 34 } |