Mercurial > vanilla
diff graphics/imlib2/imlib2.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 3dece1f7570b |
children | 27d1a83dc8d6 |
line wrap: on
line diff
--- a/graphics/imlib2/imlib2.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/graphics/imlib2/imlib2.sh Wed Sep 29 13:49:32 2021 +0200 @@ -95,32 +95,29 @@ with_zlib="--without-zlib" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.bz2 - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.bz2 +cd $PKGNAME-$PKGVERSION - CC="$CC" \ - CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix= \ - $with_bzip2 \ - $with_gif \ - $with_jpeg \ - $with_id3 \ - $with_png \ - $with_tiff \ - $with_x \ - $with_zlib - 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= \ + $with_bzip2 \ + $with_gif \ + $with_jpeg \ + $with_id3 \ + $with_png \ + $with_tiff \ + $with_x \ + $with_zlib +make +make install DESTDIR=$DESTDIR +find $DESTDIR -type f -name "*.la" -delete - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION