Mercurial > vanilla
diff graphics/graphviz/graphviz.sh @ 1222:325631424c65
misc: bring back build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 27 Oct 2021 11:32:16 +0200 |
parents | a47aaf9743a0 |
children | 9867e578b1a9 |
line wrap: on
line diff
--- a/graphics/graphviz/graphviz.sh Fri Oct 15 16:07:30 2021 +0200 +++ b/graphics/graphviz/graphviz.sh Wed Oct 27 11:32:16 2021 +0200 @@ -101,61 +101,64 @@ with_expat="--without-expat" fi -rm -rf $PKGNAME-$PKGVERSION -tar xvf $PKGNAME-$PKGVERSION.tar.gz -cd $PKGNAME-$PKGVERSION +build() +{ + rm -rf $PKGNAME-$PKGVERSION + tar xvf $PKGNAME-$PKGVERSION.tar.gz + cd $PKGNAME-$PKGVERSION -# TODO: enable features as they become available. -# --disable-tcl because it installs to /lib64. -CONFIG_SHELL=/bin/bash \ -CC="$CC" \ -CFLAGS="$CFLAGS" \ -CXX="$CXX" \ -CXXFLAGS="$CXXFLAGS" \ -LDFLAGS="$LDFLAGS" \ -LIBS="$LIBS" \ -./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --libdir=/lib \ - --disable-tcl \ - --disable-ltdl-install \ - --without-included-ltdl \ - --without-qt \ - --without-devil \ - --without-poppler \ - --without-rsvg \ - --without-ghostscript \ - --without-visio \ - --without-lasi \ - --without-glitz \ - --without-gtkgl \ - --without-gtkglext \ - --without-gts \ - --without-ann \ - --without-glade \ - --without-ming \ - --without-qt\ - --without-quartz \ - --without-gdiplus \ - --without-glut \ - --without-smyrna \ - --without-ortho \ - --without-digcola \ - --without-ipsepcola \ - --with-sfdp \ - $with_fontconfig \ - $with_gd \ - $with_gtk \ - $with_pango \ - $with_ttf \ - $with_webp \ - $with_x \ - $with_xml -make -make install DESTDIR=$DESTDIR -find $DESTDIR -type f -name "*.la" -delete + # TODO: enable features as they become available. + # --disable-tcl because it installs to /lib64. + CONFIG_SHELL=/bin/bash \ + CC="$CC" \ + CFLAGS="$CFLAGS" \ + CXX="$CXX" \ + CXXFLAGS="$CXXFLAGS" \ + LDFLAGS="$LDFLAGS" \ + LIBS="$LIBS" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix= \ + --libdir=/lib \ + --disable-tcl \ + --disable-ltdl-install \ + --without-included-ltdl \ + --without-qt \ + --without-devil \ + --without-poppler \ + --without-rsvg \ + --without-ghostscript \ + --without-visio \ + --without-lasi \ + --without-glitz \ + --without-gtkgl \ + --without-gtkglext \ + --without-gts \ + --without-ann \ + --without-glade \ + --without-ming \ + --without-qt\ + --without-quartz \ + --without-gdiplus \ + --without-glut \ + --without-smyrna \ + --without-ortho \ + --without-digcola \ + --without-ipsepcola \ + --with-sfdp \ + $with_fontconfig \ + $with_gd \ + $with_gtk \ + $with_pango \ + $with_ttf \ + $with_webp \ + $with_x \ + $with_xml + make + make install DESTDIR=$DESTDIR + find $DESTDIR -type f -name "*.la" -delete -cd .. -rm -rf $PKGNAME-$PKGVERSION + cd .. + rm -rf $PKGNAME-$PKGVERSION +}