Mercurial > vanilla
comparison audio/pulseaudio/pulseaudio.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 |
---|---|
163 with_x="--enable-x11" | 163 with_x="--enable-x11" |
164 else | 164 else |
165 with_x="--disable-x11" | 165 with_x="--disable-x11" |
166 fi | 166 fi |
167 | 167 |
168 rm -rf $PKGNAME-$PKGVERSION | 168 build() |
169 tar xvf $PKGNAME-$PKGVERSION.tar.xz | 169 { |
170 cd $PKGNAME-$PKGVERSION | 170 rm -rf $PKGNAME-$PKGVERSION |
171 | 171 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
172 CC="$CC" \ | 172 cd $PKGNAME-$PKGVERSION |
173 CPP="$CC -E" \ | 173 |
174 CFLAGS="$CFLAGS" \ | 174 CC="$CC" \ |
175 LDFLAGS="$LDFLAGS" \ | 175 CPP="$CC -E" \ |
176 LIBS="$LIBS" \ | 176 CFLAGS="$CFLAGS" \ |
177 ./configure \ | 177 LDFLAGS="$LDFLAGS" \ |
178 --build=$CBUILD \ | 178 LIBS="$LIBS" \ |
179 --host=$CHOST \ | 179 ./configure \ |
180 --prefix=/usr \ | 180 --build=$CBUILD \ |
181 --disable-bluez4 \ | 181 --host=$CHOST \ |
182 $with_alsa \ | 182 --prefix= \ |
183 $with_avahi \ | 183 --disable-bluez4 \ |
184 $with_bluetooth \ | 184 $with_alsa \ |
185 $with_cap \ | 185 $with_avahi \ |
186 $with_dbus \ | 186 $with_bluetooth \ |
187 $with_gtk \ | 187 $with_cap \ |
188 $with_ipv6 \ | 188 $with_dbus \ |
189 $with_jack \ | 189 $with_gtk \ |
190 $with_nls \ | 190 $with_ipv6 \ |
191 $with_oss \ | 191 $with_jack \ |
192 $with_soxr \ | 192 $with_nls \ |
193 $with_speex \ | 193 $with_oss \ |
194 $with_ssl \ | 194 $with_soxr \ |
195 $with_udev \ | 195 $with_speex \ |
196 $with_x | 196 $with_ssl \ |
197 make | 197 $with_udev \ |
198 make install DESTDIR=$DESTDIR | 198 $with_x |
199 find $DESTDIR -type f -name "*.la" -delete | 199 make |
200 | 200 make install DESTDIR=$DESTDIR |
201 cd .. | 201 find $DESTDIR -type f -name "*.la" -delete |
202 rm -rf $PKGNAME-$PKGVERSION | 202 |
203 cd .. | |
204 rm -rf $PKGNAME-$PKGVERSION | |
205 } |