comparison xfce/xfce4-terminal/xfce4-terminal.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
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 rm -rf $PKGNAME-$PKGVERSION 47 build()
48 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 48 {
49 cd $PKGNAME-$PKGVERSION 49 rm -rf $PKGNAME-$PKGVERSION
50 tar xvf $PKGNAME-$PKGVERSION.tar.bz2
51 cd $PKGNAME-$PKGVERSION
50 52
51 CC="$CC" \ 53 CC="$CC" \
52 CFLAGS="$CFLAGS" \ 54 CFLAGS="$CFLAGS" \
53 LDFLAGS="$LDFLAGS" \ 55 LDFLAGS="$LDFLAGS" \
54 LIBS="$LIBS" \ 56 LIBS="$LIBS" \
55 ./configure \ 57 ./configure \
56 --build=$CBUILD \ 58 --build=$CBUILD \
57 --host=$CHOST \ 59 --host=$CHOST \
58 --prefix=/usr \ 60 --prefix= \
59 --disable-debug \ 61 --disable-debug \
60 --localedir=/share/locale \ 62 --localedir=/share/locale \
61 --with-locales-dir=/share/locale \ 63 --with-locales-dir=/share/locale \
62 $with_nls 64 $with_nls
63 make 65 make
64 make install DESTDIR=$DESTDIR 66 make install DESTDIR=$DESTDIR
65 67
66 cd .. 68 cd ..
67 rm -rf $PKGNAME-$PKGVERSION 69 rm -rf $PKGNAME-$PKGVERSION
70 }