wok-next annotate 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 |
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" |
al@21017 | 9 WEB_SITE="http://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 |
pascal@11204 | 14 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-gccmakedep jpeg-dev \ |
al@20454 | 15 libpng16-dev xorg-libXp xorg-libX11-dev xorg-libXt-dev xorg-libXpm-dev \ |
pascal@20049 | 16 xorg-libXmu-dev xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXt-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@21017 | 42 DEPENDS="jpeg libpng16 xorg 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@21017 | 47 DEPENDS="xorg xorg-libXpm libpng16 zlib" |
al@21017 | 48 ;; |
pascal@20049 | 49 esac |
pascal@11204 | 50 } |