wok-next annotate xfig/receipt @ rev 20049

Up transfig (3.2.6a)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 23 12:45:07 2017 +0200 (2017-10-23)
parents 05e178121827
children dd145c435e4b
rev   line source
pascal@20049 1 # SliTaz package receipt v2.
pascal@11204 2
pascal@11204 3 PACKAGE="xfig"
pascal@20049 4 VERSION="3.2.6a"
pascal@11204 5 CATEGORY="x-window"
pascal@11204 6 SHORT_DESC="Vector graphics editor for X."
pascal@11204 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="MIT"
pascal@20048 9 TARBALL="$PACKAGE-full-$VERSION.tar.xz"
pascal@11204 10 WEB_SITE="http://www.xfig.org/"
pascal@20048 11 WGET_URL="https://downloads.sourceforge.net/mcj/files/$TARBALL"
pascal@11204 12
pascal@11204 13 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \
pascal@20005 14 libpng-dev xorg-libXp xorg-libX11-dev xorg-libXt-dev xorg-libXpm-dev \
pascal@20049 15 xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXt-dev"
pascal@20049 16 SPLIT="transfig"
pascal@11204 17
pascal@11204 18 # Rules to configure and make the package.
pascal@11204 19 compile_rules()
pascal@11204 20 {
pascal@20048 21 cd $src/$PACKAGE-$VERSION
pascal@20048 22 ./configure --prefix=/usr \
pascal@20048 23 $CONFIGURE_ARGS &&
pascal@11204 24 make &&
pascal@20049 25 make DESTDIR=$DESTDIR/xfig install
pascal@20049 26 cd $src/fig2dev-$VERSION
pascal@20049 27 ./configure --prefix=/usr \
pascal@20049 28 $CONFIGURE_ARGS &&
pascal@20049 29 make &&
pascal@20049 30 make DESTDIR=$DESTDIR/transfig install
pascal@11204 31 }
pascal@11204 32
pascal@11204 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11204 34 genpkg_rules()
pascal@11204 35 {
pascal@20049 36 case $PACKAGE in
pascal@20049 37 xfig)
pascal@20049 38 SUGGESTED="transfig"
pascal@20049 39 DEPENDS="jpeg libpng xorg xorg-libXp"
pascal@20049 40 cp -a $install/xfig/* $fs
pascal@20049 41 ;;
pascal@20049 42 transfig)
pascal@20049 43 CAT="x-window|Utilities for converting XFig figure files."
pascal@20049 44 DEPENDS="xorg xorg-libXpm libpng zlib"
pascal@20049 45 cp -a $install/transfig/* $fs
pascal@20049 46 ;;
pascal@20049 47 esac
pascal@11204 48 }