wok-next view xfig/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | dd145c435e4b |
children | d5aab818505e |
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="http://www.xfig.org/"
11 TARBALL="$PACKAGE-full-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/mcj/$TARBALL"
14 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
15 libpng16-dev xorg-libXp xorg-libX11-dev xorg-libXt-dev xorg-libXpm-dev \
16 xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXt-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=$DESTDIR/xfig install || return 1
28 cd $src/fig2dev-$VERSION
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR/transfig install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 xfig)
40 cp -a $install/xfig/* $fs
41 SUGGESTED="transfig"
42 DEPENDS="jpeg libpng16 xorg xorg-libXp"
43 ;;
44 transfig)
45 cp -a $install/transfig/* $fs
46 SHORT_DESC="Utilities for converting XFig figure files"
47 DEPENDS="xorg xorg-libXpm libpng16 zlib"
48 ;;
49 esac
50 }