Mercurial > vanilla
diff x11/libxpm/libxpm.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/x11/libxpm/libxpm.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/x11/libxpm/libxpm.sh Wed Sep 29 13:49:32 2021 +0200 @@ -34,26 +34,23 @@ : ${LDFLAGS:=} : ${LIBS:=} -build() -{ - rm -rf libXpm-$PKGVERSION - tar xvf libXpm-$PKGVERSION.tar.gz - cd libXpm-$PKGVERSION +rm -rf libXpm-$PKGVERSION +tar xvf libXpm-$PKGVERSION.tar.gz +cd libXpm-$PKGVERSION - CC="$CC" \ - CFLAGS="$CFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --target=$CTARGET \ - --prefix= \ - --enable-shared - 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 \ + --target=$CTARGET \ + --prefix= \ + --enable-shared +make +make install DESTDIR=$DESTDIR +find $DESTDIR -type f -name "*.la" -delete - cd .. - rm -rf libXpm-$PKGVERSION -} +cd .. +rm -rf libXpm-$PKGVERSION