Mercurial > vanilla
comparison graphics/libgd/libgd.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 |
---|---|
100 with_zlib="--with-zlib" | 100 with_zlib="--with-zlib" |
101 else | 101 else |
102 with_zlib="--without-zlib" | 102 with_zlib="--without-zlib" |
103 fi | 103 fi |
104 | 104 |
105 build() | 105 rm -rf $PKGNAME-$PKGVERSION |
106 { | 106 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
107 rm -rf $PKGNAME-$PKGVERSION | 107 cd $PKGNAME-$PKGVERSION |
108 tar xvf $PKGNAME-$PKGVERSION.tar.xz | |
109 cd $PKGNAME-$PKGVERSION | |
110 | 108 |
111 CC="$CC" \ | 109 CC="$CC" \ |
112 CFLAGS="$CFLAGS" \ | 110 CFLAGS="$CFLAGS" \ |
113 LDFLAGS="$LDFLAGS" \ | 111 LDFLAGS="$LDFLAGS" \ |
114 LIBS="$LIBS" \ | 112 LIBS="$LIBS" \ |
115 ./configure \ | 113 ./configure \ |
116 --build=$CBUILD \ | 114 --build=$CBUILD \ |
117 --host=$CHOST \ | 115 --host=$CHOST \ |
118 --prefix= \ | 116 --prefix= \ |
119 --enable-shared \ | 117 --enable-shared \ |
120 $with_fontconfig \ | 118 $with_fontconfig \ |
121 $with_jpeg \ | 119 $with_jpeg \ |
122 $with_liq \ | 120 $with_liq \ |
123 $with_png \ | 121 $with_png \ |
124 $with_tiff \ | 122 $with_tiff \ |
125 $with_ttf \ | 123 $with_ttf \ |
126 $with_webp \ | 124 $with_webp \ |
127 $with_x \ | 125 $with_x \ |
128 $with_zlib | 126 $with_zlib |
129 make | 127 make |
130 make install DESTDIR=$DESTDIR | 128 make install DESTDIR=$DESTDIR |
131 find $DESTDIR -type f -name "*.la" -delete | 129 find $DESTDIR -type f -name "*.la" -delete |
132 | 130 |
133 cd .. | 131 cd .. |
134 rm -rf $PKGNAME-$PKGVERSION | 132 rm -rf $PKGNAME-$PKGVERSION |
135 } |