Mercurial > vanilla
comparison graphics/qrencode/qrencode.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 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
44 with_tools="--with-tools" | 44 with_tools="--with-tools" |
45 else | 45 else |
46 with_tools="--without-tools" | 46 with_tools="--without-tools" |
47 fi | 47 fi |
48 | 48 |
49 build() | 49 rm -rf $PKGNAME-$PKGVERSION |
50 { | 50 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
51 rm -rf $PKGNAME-$PKGVERSION | 51 cd $PKGNAME-$PKGVERSION |
52 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
53 cd $PKGNAME-$PKGVERSION | |
54 | 52 |
55 autoreconf -vif | 53 autoreconf -vif |
56 CC="$CC" \ | 54 CC="$CC" \ |
57 CFLAGS="$CFLAGS" \ | 55 CFLAGS="$CFLAGS" \ |
58 LDFLAGS="$LDFLAGS" \ | 56 LDFLAGS="$LDFLAGS" \ |
59 LIBS="$LIBS" \ | 57 LIBS="$LIBS" \ |
60 ./configure \ | 58 ./configure \ |
61 --build=$CBUILD \ | 59 --build=$CBUILD \ |
62 --host=$CHOST \ | 60 --host=$CHOST \ |
63 --prefix= \ | 61 --prefix= \ |
64 --enable-shared \ | 62 --enable-shared \ |
65 --enable-static \ | 63 --enable-static \ |
66 $with_png \ | 64 $with_png \ |
67 $with_tools | 65 $with_tools |
68 make | 66 make |
69 make install DESTDIR=$DESTDIR | 67 make install DESTDIR=$DESTDIR |
70 find $DESTDIR -type f -name "*.la" -delete | 68 find $DESTDIR -type f -name "*.la" -delete |
71 | 69 |
72 cd .. | 70 cd .. |
73 rm -rf $PKGNAME-$PKGVERSION | 71 rm -rf $PKGNAME-$PKGVERSION |
74 } |