Mercurial > vanilla
comparison xfce/xfce4-terminal/xfce4-terminal.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
42 with_nls="--enable-nls" | 42 with_nls="--enable-nls" |
43 else | 43 else |
44 with_nls="--disable-nls" | 44 with_nls="--disable-nls" |
45 fi | 45 fi |
46 | 46 |
47 build() | 47 rm -rf $PKGNAME-$PKGVERSION |
48 { | 48 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
49 rm -rf $PKGNAME-$PKGVERSION | 49 cd $PKGNAME-$PKGVERSION |
50 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
51 cd $PKGNAME-$PKGVERSION | |
52 | 50 |
53 CC="$CC" \ | 51 CC="$CC" \ |
54 CFLAGS="$CFLAGS" \ | 52 CFLAGS="$CFLAGS" \ |
55 LDFLAGS="$LDFLAGS" \ | 53 LDFLAGS="$LDFLAGS" \ |
56 LIBS="$LIBS" \ | 54 LIBS="$LIBS" \ |
57 ./configure \ | 55 ./configure \ |
58 --build=$CBUILD \ | 56 --build=$CBUILD \ |
59 --host=$CHOST \ | 57 --host=$CHOST \ |
60 --prefix= \ | 58 --prefix= \ |
61 --disable-debug \ | 59 --disable-debug \ |
62 --localedir=/share/locale \ | 60 --localedir=/share/locale \ |
63 --with-locales-dir=/share/locale \ | 61 --with-locales-dir=/share/locale \ |
64 $with_nls | 62 $with_nls |
65 make | 63 make |
66 make install DESTDIR=$DESTDIR | 64 make install DESTDIR=$DESTDIR |
67 | 65 |
68 cd .. | 66 cd .. |
69 rm -rf $PKGNAME-$PKGVERSION | 67 rm -rf $PKGNAME-$PKGVERSION |
70 } |