wok-next view xfig/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 05e178121827 |
children | dd145c435e4b |
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 libpng-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 libpng 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 libpng zlib"
45 cp -a $install/transfig/* $fs
46 ;;
47 esac
48 }