wok view xfig/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents 271622a4c4d7
children
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/mcj/$TARBALL"
14 SUGGESTED="transfig"
15 DEPENDS="jpeg libpng xorg xorg-libXaw3d xorg-libXp"
16 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXaw3d-dev xorg-libXp"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/mcj/files/ 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # obsolete with 3.2.8b
29 # sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
30 # xmkmf
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/xfig
42 mkdir -p $fs/usr/share/X11
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 cp -a $install/usr/share/xfig/CompKeyDB $fs/usr/share/xfig
48 cp -a $install/usr/share/X11/app-defaults $fs/usr/share/X11
50 sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' \
51 $fs/usr/share/X11/app-defaults/Fig
52 }