wok-next view xfig/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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=$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 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 }