Mercurial > vanilla
diff text/libxml2/libxml2.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 |
line wrap: on
line diff
--- a/text/libxml2/libxml2.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/text/libxml2/libxml2.sh Wed Sep 29 13:49:32 2021 +0200 @@ -62,38 +62,35 @@ with_zlib="--without-zlib" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.gz - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.gz +cd $PKGNAME-$PKGVERSION - sed -i -e '/SUBDIRS/ s/tests//' python/Makefile.am - autoreconf -vif - CC="$CC" \ - CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix= \ - --docdir=/share/doc/$PKGNAME \ - --with-html-dir=/share/doc/$PKGNAME/html \ - --with-html-subdir="" \ - --enable-shared \ - $with_icu \ - $with_lzma \ - $with_python \ - $with_zlib - make - make \ - DESTDIR=$DESTDIR \ - DOC_MODULE=$PKGNAME \ - docsdir=/share/doc/$PKGNAME/python \ - install - find $DESTDIR -type f -name "*.la" -delete +sed -i -e '/SUBDIRS/ s/tests//' python/Makefile.am +autoreconf -vif +CC="$CC" \ +CFLAGS="$CFLAGS" \ +LDFLAGS="$LDFLAGS" \ +LIBS="$LIBS" \ +./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix= \ + --docdir=/share/doc/$PKGNAME \ + --with-html-dir=/share/doc/$PKGNAME/html \ + --with-html-subdir="" \ + --enable-shared \ + $with_icu \ + $with_lzma \ + $with_python \ + $with_zlib +make +make \ + DESTDIR=$DESTDIR \ + DOC_MODULE=$PKGNAME \ + docsdir=/share/doc/$PKGNAME/python \ + install +find $DESTDIR -type f -name "*.la" -delete - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION