Mercurial > vanilla
diff dns/avahi/avahi.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 |
line wrap: on
line diff
--- a/dns/avahi/avahi.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/dns/avahi/avahi.sh Wed Sep 29 13:49:32 2021 +0200 @@ -89,45 +89,42 @@ with_nls="--disable-nls" fi -build() -{ - rm -rf $PKGNAME-$PKGVERSION - tar xvf $PKGNAME-$PKGVERSION.tar.gz - cd $PKGNAME-$PKGVERSION +rm -rf $PKGNAME-$PKGVERSION +tar xvf $PKGNAME-$PKGVERSION.tar.gz +cd $PKGNAME-$PKGVERSION - # --disable-python: does not support Python 3 yet. - CC="$CC" \ - CFLAGS="$CFLAGS" \ - CXX="$CXX" \ - CXXFLAGS="$CXXFLAGS" \ - LDFLAGS="$LDFLAGS" \ - LIBS="$LIBS" \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix= \ - --sbindir=/bin \ - --disable-gtk \ - --disable-qt3 \ - --disable-qt4 \ - --disable-mono \ - --disable-monodoc \ - --disable-python \ - --with-xml=expat \ - --with-distro="none" \ - --without-systemdsystemunitdir \ - $with_dbus \ - $with_glib \ - $with_gobject \ - $with_gtk \ - $with_introspection \ - $with_nls - make - make install DESTDIR=$DESTDIR - rmdir $DESTDIR/run - find $DESTDIR -type f -name "*.la" -delete - install -Dm644 ../avahi $DESTDIR/etc/rc.d/avahi +# --disable-python: does not support Python 3 yet. +CC="$CC" \ +CFLAGS="$CFLAGS" \ +CXX="$CXX" \ +CXXFLAGS="$CXXFLAGS" \ +LDFLAGS="$LDFLAGS" \ +LIBS="$LIBS" \ +./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix= \ + --sbindir=/bin \ + --disable-gtk \ + --disable-qt3 \ + --disable-qt4 \ + --disable-mono \ + --disable-monodoc \ + --disable-python \ + --with-xml=expat \ + --with-distro="none" \ + --without-systemdsystemunitdir \ + $with_dbus \ + $with_glib \ + $with_gobject \ + $with_gtk \ + $with_introspection \ + $with_nls +make +make install DESTDIR=$DESTDIR +rmdir $DESTDIR/run +find $DESTDIR -type f -name "*.la" -delete +install -Dm644 ../avahi $DESTDIR/etc/rc.d/avahi - cd .. - rm -rf $PKGNAME-$PKGVERSION -} +cd .. +rm -rf $PKGNAME-$PKGVERSION