Mercurial > vanilla
comparison audio/cdrdao/cdrdao.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | bc1d97842cff |
children | 27d1a83dc8d6 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
53 with_lame="--with-lame" | 53 with_lame="--with-lame" |
54 else | 54 else |
55 with_lame="--without-lame" | 55 with_lame="--without-lame" |
56 fi | 56 fi |
57 | 57 |
58 build() | 58 rm -rf $PKGNAME-$PKGVERSION |
59 { | 59 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
60 rm -rf $PKGNAME-$PKGVERSION | 60 cd $PKGNAME-$PKGVERSION |
61 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
62 cd $PKGNAME-$PKGVERSION | |
63 | 61 |
64 # TODO: --without-gcdmaster: missing dependencies. | 62 # TODO: --without-gcdmaster: missing dependencies. |
65 CC="$CC" \ | 63 CC="$CC" \ |
66 CFLAGS="$CFLAGS" \ | 64 CFLAGS="$CFLAGS" \ |
67 CXX="$CXX" \ | 65 CXX="$CXX" \ |
68 CXXFLAGS="$CXXFLAGS" \ | 66 CXXFLAGS="$CXXFLAGS" \ |
69 LDFLAGS="$LDFLAGS" \ | 67 LDFLAGS="$LDFLAGS" \ |
70 LIBS="$LIBS" \ | 68 LIBS="$LIBS" \ |
71 ./configure \ | 69 ./configure \ |
72 --build=$CBUILD \ | 70 --build=$CBUILD \ |
73 --host=$CHOST \ | 71 --host=$CHOST \ |
74 --prefix= \ | 72 --prefix= \ |
75 --without-gcdmaster \ | 73 --without-gcdmaster \ |
76 $with_ogg \ | 74 $with_ogg \ |
77 $with_mad \ | 75 $with_mad \ |
78 $with_lame | 76 $with_lame |
79 make | 77 make |
80 make install DESTDIR=$DESTDIR | 78 make install DESTDIR=$DESTDIR |
81 | 79 |
82 cd .. | 80 cd .. |
83 rm -rf $PKGNAME-$PKGVERSION | 81 rm -rf $PKGNAME-$PKGVERSION |
84 } |