wok-next view xfig/receipt @ rev 20939
Fix brisk-menu, mate-backgrounds, mate-user-guide
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 26 09:13:55 2018 +0300 (2018-08-26) |
parents | 618caf1965c4 |
children | f48456621a9d |
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 TARBALL="$PACKAGE-full-$VERSION.tar.xz"
10 WEB_SITE="http://www.xfig.org/"
11 WGET_URL="https://downloads.sourceforge.net/mcj/files/$TARBALL"
13 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
14 libpng16-dev xorg-libXp xorg-libX11-dev xorg-libXt-dev xorg-libXpm-dev \
15 xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXt-dev"
16 SPLIT="transfig"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/$PACKAGE-$VERSION
22 ./configure --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR/xfig install
26 cd $src/fig2dev-$VERSION
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR/transfig install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 xfig)
38 SUGGESTED="transfig"
39 DEPENDS="jpeg libpng16 xorg xorg-libXp"
40 cp -a $install/xfig/* $fs
41 ;;
42 transfig)
43 CAT="x-window|Utilities for converting XFig figure files."
44 DEPENDS="xorg xorg-libXpm libpng16 zlib"
45 cp -a $install/transfig/* $fs
46 ;;
47 esac
48 }