wok-next view xfig/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | d5aab818505e |
children | 3bc985504162 |
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="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 }