wok view xfig/receipt @ rev 24123

Add Arkanoid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 08:15:26 2021 +0000 (2021-10-06)
parents 4f597f0ebe41
children 271622a4c4d7
line source
1 # SliTaz package receipt.
3 PACKAGE="xfig"
4 VERSION="3.2.8b"
5 CATEGORY="x-window"
6 SHORT_DESC="Vector graphics editor for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.xfig.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/sourceforge/mcj/$TARBALL"
13 SUGGESTED="transfig"
15 DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp"
16 BUILD_DEPENDS="spl-src xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
17 libpng-dev xorg-libXaw3d-dev xorg-libXp"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # obsolete with 3.2.8b
23 # sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
24 # xmkmf
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 # many examples in /usr/share/xfig/Libraries appr. 16 MiB
38 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' \
39 $fs/usr/share/X11/app-defaults/Fig
40 }