comparison audio/jack2/jack2.sh @ 1216:6710613b88b9

misc: remove build function
author David Demelier <markand@malikania.fr>
date Wed, 29 Sep 2021 13:49:32 +0200
parents 7791d3dbfecf
children 27d1a83dc8d6
comparison
equal deleted inserted replaced
1215:3214f7fed454 1216:6710613b88b9
86 with_sndfile="--sndfile=yes" 86 with_sndfile="--sndfile=yes"
87 else 87 else
88 with_sndfile="--sndfile=no" 88 with_sndfile="--sndfile=no"
89 fi 89 fi
90 90
91 build() 91 rm -rf $PKGNAME-$PKGVERSION
92 { 92 tar xvf $PKGNAME-$PKGVERSION.tar.gz
93 rm -rf $PKGNAME-$PKGVERSION 93 cd $PKGNAME-$PKGVERSION
94 tar xvf $PKGNAME-$PKGVERSION.tar.gz
95 cd $PKGNAME-$PKGVERSION
96 94
97 patch -p0 < ../patch-clang.patch 95 patch -p0 < ../patch-clang.patch
98 CC="$CC" \ 96 CC="$CC" \
99 CFLAGS="$CFLAGS" \ 97 CFLAGS="$CFLAGS" \
100 CXX="$CXX" \ 98 CXX="$CXX" \
101 CXXFLAGS="$CXXFLAGS" \ 99 CXXFLAGS="$CXXFLAGS" \
102 LDFLAGS="$LDFLAGS" \ 100 LDFLAGS="$LDFLAGS" \
103 python2 waf configure \ 101 python2 waf configure \
104 --prefix= \ 102 --prefix= \
105 $with_alsa \ 103 $with_alsa \
106 $with_completion \ 104 $with_completion \
107 $with_dbus \ 105 $with_dbus \
108 $with_doxygen \ 106 $with_doxygen \
109 $with_opus \ 107 $with_opus \
110 $with_samplerate \ 108 $with_samplerate \
111 $with_sndfile 109 $with_sndfile
112 python2 waf build 110 python2 waf build
113 python2 waf install --destdir=$DESTDIR 111 python2 waf install --destdir=$DESTDIR
114 112
115 cd .. 113 cd ..
116 rm -rf $PKGNAME-$PKGVERSION 114 rm -rf $PKGNAME-$PKGVERSION
117 }