Mercurial > vanilla
comparison graphics/cairo/cairo.sh @ 1222:325631424c65
misc: bring back build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 27 Oct 2021 11:32:16 +0200 |
parents | a47aaf9743a0 |
children | 9867e578b1a9 |
comparison
equal
deleted
inserted
replaced
1221:a47aaf9743a0 | 1222:325631424c65 |
---|---|
128 with_x="--enable-xcb $with_x" | 128 with_x="--enable-xcb $with_x" |
129 with_x="--enable-xlib-xcb $with_x" | 129 with_x="--enable-xlib-xcb $with_x" |
130 with_x="--with-x $with_x" | 130 with_x="--with-x $with_x" |
131 fi | 131 fi |
132 | 132 |
133 rm -rf $PKGNAME-$PKGVERSION | 133 build() |
134 tar xvf $PKGNAME-$PKGVERSION.tar.xz | 134 { |
135 cd $PKGNAME-$PKGVERSION | 135 rm -rf $PKGNAME-$PKGVERSION |
136 tar xvf $PKGNAME-$PKGVERSION.tar.xz | |
137 cd $PKGNAME-$PKGVERSION | |
136 | 138 |
137 CC="$CC" \ | 139 CC="$CC" \ |
138 CFLAGS="$CFLAGS" \ | 140 CFLAGS="$CFLAGS" \ |
139 LDFLAGS="$LDFLAGS" \ | 141 LDFLAGS="$LDFLAGS" \ |
140 LIBS="$LIBS" \ | 142 LIBS="$LIBS" \ |
141 ./configure \ | 143 ./configure \ |
142 --build=$CBUILD \ | 144 --build=$CBUILD \ |
143 --host=$CHOST \ | 145 --host=$CHOST \ |
144 --prefix=/usr \ | 146 --prefix= \ |
145 --disable-valgrind \ | 147 --disable-valgrind \ |
146 --enable-shared \ | 148 --enable-shared \ |
147 $with_drm \ | 149 $with_drm \ |
148 $with_fontconfig \ | 150 $with_fontconfig \ |
149 $with_egl \ | 151 $with_egl \ |
150 $with_gles2 \ | 152 $with_gles2 \ |
151 $with_gles3 \ | 153 $with_gles3 \ |
152 $with_glib \ | 154 $with_glib \ |
153 $with_pdf \ | 155 $with_pdf \ |
154 $with_png \ | 156 $with_png \ |
155 $with_svg \ | 157 $with_svg \ |
156 $with_ttf \ | 158 $with_ttf \ |
157 $with_x | 159 $with_x |
158 make | 160 make |
159 make install DESTDIR=$DESTDIR | 161 make install DESTDIR=$DESTDIR |
160 find $DESTDIR -type f -name "*.la" -delete | 162 find $DESTDIR -type f -name "*.la" -delete |
161 | 163 |
162 cd .. | 164 cd .. |
163 rm -rf $PKGNAME-$PKGVERSION | 165 rm -rf $PKGNAME-$PKGVERSION |
166 } |