Mercurial > vanilla
diff graphics/cairo/cairo.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 7cf9db049342 |
children | 27d1a83dc8d6 |
line wrap: on
line diff
--- a/graphics/cairo/cairo.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/graphics/cairo/cairo.sh Wed Sep 29 13:49:32 2021 +0200 @@ -130,37 +130,34 @@ with_x="--with-x $with_x" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.xz - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.xz +cd $PKGNAME-$PKGVERSION - CC="$CC" \ - CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix= \ - --disable-valgrind \ - --enable-shared \ - $with_drm \ - $with_fontconfig \ - $with_egl \ - $with_gles2 \ - $with_gles3 \ - $with_glib \ - $with_pdf \ - $with_png \ - $with_svg \ - $with_ttf \ - $with_x - make - make install DESTDIR=$DESTDIR - find $DESTDIR -type f -name "*.la" -delete +CC="$CC" \ +CFLAGS="$CFLAGS" \ +LDFLAGS="$LDFLAGS" \ +LIBS="$LIBS" \ +./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix= \ + --disable-valgrind \ + --enable-shared \ + $with_drm \ + $with_fontconfig \ + $with_egl \ + $with_gles2 \ + $with_gles3 \ + $with_glib \ + $with_pdf \ + $with_png \ + $with_svg \ + $with_ttf \ + $with_x +make +make install DESTDIR=$DESTDIR +find $DESTDIR -type f -name "*.la" -delete - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION