comparison graphics/graphviz/graphviz.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents ddab65a5b3f5
children 27d1a83dc8d6
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
99 with_expat="--with-expat" 99 with_expat="--with-expat"
100 else 100 else
101 with_expat="--without-expat" 101 with_expat="--without-expat"
102 fi 102 fi
103 103
104 build() 104 rm -rf $PKGNAME-$PKGVERSION
105 { 105 tar xvf $PKGNAME-$PKGVERSION.tar.gz
106 rm -rf $PKGNAME-$PKGVERSION 106 cd $PKGNAME-$PKGVERSION
107 tar xvf $PKGNAME-$PKGVERSION.tar.gz
108 cd $PKGNAME-$PKGVERSION
109 107
110 # TODO: enable features as they become available. 108 # TODO: enable features as they become available.
111 # --disable-tcl because it installs to /lib64. 109 # --disable-tcl because it installs to /lib64.
112 CONFIG_SHELL=/bin/bash \ 110 CONFIG_SHELL=/bin/bash \
113 CC="$CC" \ 111 CC="$CC" \
114 CFLAGS="$CFLAGS" \ 112 CFLAGS="$CFLAGS" \
115 CXX="$CXX" \ 113 CXX="$CXX" \
116 CXXFLAGS="$CXXFLAGS" \ 114 CXXFLAGS="$CXXFLAGS" \
117 LDFLAGS="$LDFLAGS" \ 115 LDFLAGS="$LDFLAGS" \
118 LIBS="$LIBS" \ 116 LIBS="$LIBS" \
119 ./configure \ 117 ./configure \
120 --build=$CBUILD \ 118 --build=$CBUILD \
121 --host=$CHOST \ 119 --host=$CHOST \
122 --prefix= \ 120 --prefix= \
123 --libdir=/lib \ 121 --libdir=/lib \
124 --disable-tcl \ 122 --disable-tcl \
125 --disable-ltdl-install \ 123 --disable-ltdl-install \
126 --without-included-ltdl \ 124 --without-included-ltdl \
127 --without-qt \ 125 --without-qt \
128 --without-devil \ 126 --without-devil \
129 --without-poppler \ 127 --without-poppler \
130 --without-rsvg \ 128 --without-rsvg \
131 --without-ghostscript \ 129 --without-ghostscript \
132 --without-visio \ 130 --without-visio \
133 --without-lasi \ 131 --without-lasi \
134 --without-glitz \ 132 --without-glitz \
135 --without-gtkgl \ 133 --without-gtkgl \
136 --without-gtkglext \ 134 --without-gtkglext \
137 --without-gts \ 135 --without-gts \
138 --without-ann \ 136 --without-ann \
139 --without-glade \ 137 --without-glade \
140 --without-ming \ 138 --without-ming \
141 --without-qt\ 139 --without-qt\
142 --without-quartz \ 140 --without-quartz \
143 --without-gdiplus \ 141 --without-gdiplus \
144 --without-glut \ 142 --without-glut \
145 --without-smyrna \ 143 --without-smyrna \
146 --without-ortho \ 144 --without-ortho \
147 --without-digcola \ 145 --without-digcola \
148 --without-ipsepcola \ 146 --without-ipsepcola \
149 --with-sfdp \ 147 --with-sfdp \
150 $with_fontconfig \ 148 $with_fontconfig \
151 $with_gd \ 149 $with_gd \
152 $with_gtk \ 150 $with_gtk \
153 $with_pango \ 151 $with_pango \
154 $with_ttf \ 152 $with_ttf \
155 $with_webp \ 153 $with_webp \
156 $with_x \ 154 $with_x \
157 $with_xml 155 $with_xml
158 make 156 make
159 make install DESTDIR=$DESTDIR 157 make install DESTDIR=$DESTDIR
160 find $DESTDIR -type f -name "*.la" -delete 158 find $DESTDIR -type f -name "*.la" -delete
161 159
162 cd .. 160 cd ..
163 rm -rf $PKGNAME-$PKGVERSION 161 rm -rf $PKGNAME-$PKGVERSION
164 }