wok-next view xfig/receipt @ rev 21568
updated crosstool-ng (1.20.0 -> 1.24.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 16:28:58 2020 +0100 (2020-06-22) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfig"
4 VERSION="3.2.6a"
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-full-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/mcj/$TARBALL"
14 BUILD_DEPENDS="imake xorg-cf-files gccmakedep jpeg-dev \
15 libpng-dev libxp libx11-dev libxt-dev libxpm-dev \
16 libxmu-dev libxaw-dev libxaw3d-dev"
17 SPLIT="transfig"
19 compile_rules() {
20 cd $src/$PACKAGE-$VERSION
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install/xfig install || return 1
28 cd $src/fig2dev-$VERSION
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$install/transfig install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 xfig)
40 cp -a $install/xfig/* $fs
41 SUGGESTED="transfig"
42 DEPENDS="jpeg libpng xorg libxp"
43 ;;
44 transfig)
45 cp -a $install/transfig/* $fs
46 SHORT_DESC="Utilities for converting XFig figure files"
47 DEPENDS="xorg libxpm libpng zlib"
48 ;;
49 esac
50 }