comparison graphics/libtiff/libtiff.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
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
70 with_zstd="--enable-zstd" 70 with_zstd="--enable-zstd"
71 else 71 else
72 with_zstd="--disable-zstd" 72 with_zstd="--disable-zstd"
73 fi 73 fi
74 74
75 build() 75 rm -rf tiff-$PKGVERSION
76 { 76 tar xvf tiff-$PKGVERSION.tar.gz
77 rm -rf tiff-$PKGVERSION 77 cd tiff-$PKGVERSION
78 tar xvf tiff-$PKGVERSION.tar.gz
79 cd tiff-$PKGVERSION
80 78
81 CC="$CC" \ 79 CC="$CC" \
82 CFLAGS="$CFLAGS" \ 80 CFLAGS="$CFLAGS" \
83 CXX="$CXX" \ 81 CXX="$CXX" \
84 CXXFLAGS="$CXXFLAGS" \ 82 CXXFLAGS="$CXXFLAGS" \
85 LDFLAGS="$LDFLAGS" \ 83 LDFLAGS="$LDFLAGS" \
86 LIBS="$LIBS" \ 84 LIBS="$LIBS" \
87 ./configure \ 85 ./configure \
88 --build=$CBUILD \ 86 --build=$CBUILD \
89 --host=$CHOST \ 87 --host=$CHOST \
90 --prefix= \ 88 --prefix= \
91 --with-docdir=/share/doc/libtiff \ 89 --with-docdir=/share/doc/libtiff \
92 --enable-shared \ 90 --enable-shared \
93 $with_jpeg \ 91 $with_jpeg \
94 $with_lzma \ 92 $with_lzma \
95 $with_webp \ 93 $with_webp \
96 $with_zlib \ 94 $with_zlib \
97 $with_zstd 95 $with_zstd
98 make 96 make
99 make install DESTDIR=$DESTDIR 97 make install DESTDIR=$DESTDIR
100 find $DESTDIR -type f -name "*.la" -delete 98 find $DESTDIR -type f -name "*.la" -delete
101 99
102 cd .. 100 cd ..
103 rm -rf tiff-$PKGVERSION 101 rm -rf tiff-$PKGVERSION
104 }