wok-next annotate xfig/receipt @ rev 21286

updated gnuradio (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 11:42:09 2019 +0100 (2019-12-08)
parents 5669e8b3be70
children
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"
al@21017 6 SHORT_DESC="Vector graphics editor for X"
pascal@11204 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="MIT"
pascal@21181 9 WEB_SITE="https://www.xfig.org/"
al@21017 10
pascal@20048 11 TARBALL="$PACKAGE-full-$VERSION.tar.xz"
al@21017 12 WGET_URL="$SF_MIRROR/mcj/$TARBALL"
pascal@11204 13
al@21078 14 BUILD_DEPENDS="imake xorg-cf-files gccmakedep jpeg-dev \
al@21078 15 libpng-dev libxp libx11-dev libxt-dev libxpm-dev \
al@21078 16 libxmu-dev libxaw-dev libxaw3d-dev"
pascal@20049 17 SPLIT="transfig"
pascal@11204 18
al@21017 19 compile_rules() {
pascal@20048 20 cd $src/$PACKAGE-$VERSION
al@21017 21
al@21017 22 ./configure \
al@21017 23 --prefix=/usr \
pascal@20048 24 $CONFIGURE_ARGS &&
pascal@11204 25 make &&
al@21020 26 make DESTDIR=$install/xfig install || return 1
al@21017 27
pascal@20049 28 cd $src/fig2dev-$VERSION
al@21017 29
al@21017 30 ./configure \
al@21017 31 --prefix=/usr \
pascal@20049 32 $CONFIGURE_ARGS &&
pascal@20049 33 make &&
al@21020 34 make DESTDIR=$install/transfig install
pascal@11204 35 }
pascal@11204 36
al@21017 37 genpkg_rules() {
pascal@20049 38 case $PACKAGE in
al@21017 39 xfig)
al@21017 40 cp -a $install/xfig/* $fs
al@21017 41 SUGGESTED="transfig"
al@21078 42 DEPENDS="jpeg libpng xorg libxp"
al@21017 43 ;;
al@21017 44 transfig)
al@21017 45 cp -a $install/transfig/* $fs
al@21017 46 SHORT_DESC="Utilities for converting XFig figure files"
al@21078 47 DEPENDS="xorg libxpm libpng zlib"
al@21017 48 ;;
pascal@20049 49 esac
pascal@11204 50 }