Magellan Linux

Annotation of /smage/branches/alx07x-unstable/extras/graphviz/graphviz-2.40.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14095 - (hide annotations) (download)
Fri Jul 3 10:53:19 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/extras/graphviz/graphviz-2.40.1-r3.smage2
File size: 1338 byte(s)
auto added: ver bump to 2.40.1-r3
1 niro 14095 # $Id$
2    
3     PNAME="graphviz"
4     PVER="2.40.1"
5     PBUILD="r3"
6    
7     PCAT="media-gfx"
8    
9     DESCRIPTION="Graphviz - Graph Visualization Software."
10     HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/"
11    
12     DEPEND=">= dev-libs/expat-2
13     >= sys-libs/zlib-1.2
14     >= sys-libs/libstdc++-8.4
15     >= sys-libs/libltdl-2.4
16     >= media-libs/libpng-1.5
17     >= virtual/libjpeg
18     >= media-libs/freetype-2.6
19     >= media-libs/fontconfig-2.11
20     >= x11-libs/libXaw-1
21     >= x11-libs/cairo-1.16"
22    
23     SDEPEND=">= virtual/sed
24     >= sys-dev/libtool-2.4"
25    
26     #SRCFILE="${PNAME}-${PVER}.tar.gz"
27     SRCFILE="${PNAME}.tar.gz"
28     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29    
30     sminclude mbuild
31     msetfeature "!check"
32    
33     SRC_URI=(
34     # http://www.graphviz.org/pub/${PNAME}/ARCHIVE/${SRCFILE}
35     https://graphviz.gitlab.io/pub/${PNAME}/stable/SOURCES/${SRCFILE}
36     mirror://${PNAME}/${SRCFILE}
37     )
38    
39     UP2DATE="updatecmd http://www.graphviz.org/pub/${PNAME}/ARCHIVE/ | grep ${PNAME}-[0-9] | highesttarball gz"
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     mconfigure \
46     --enable-ltdl \
47     --with-png \
48     --with-jpeg \
49     --without-gd \
50     --without-rsvg \
51     --with-freetype2 \
52     --with-fontconfig \
53     --with-pangocairo \
54     --without-gtk \
55     --without-gnomegui \
56     --disable-tcl \
57     --disable-tk \
58     --disable-sharp \
59     --disable-ruby \
60     --disable-python \
61     --disable-lua \
62     --disable-guile \
63     --disable-perl \
64     --disable-java \
65     || die
66    
67     mmake || die
68     }