Mercurial > vanilla
comparison xfce/xfce4-notifyd/xfce4-notifyd.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 --localedir=/share/locale \ | 61 --localedir=/share/locale \ |
60 --with-locales-dir=/share/locale \ | 62 --with-locales-dir=/share/locale \ |
61 $with_nls | 63 $with_nls |
62 make | 64 make |
63 make install DESTDIR=$DESTDIR | 65 make install DESTDIR=$DESTDIR |
64 find $DESTDIR -type f -name "*.la" -delete | 66 find $DESTDIR -type f -name "*.la" -delete |
65 rm -rf $DESTDIR/lib/systemd | 67 rm -rf $DESTDIR/lib/systemd |
66 | 68 |
67 cd .. | 69 cd .. |
68 rm -rf $PKGNAME-$PKGVERSION | 70 rm -rf $PKGNAME-$PKGVERSION |
71 } |