Mercurial > vanilla
comparison 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 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
87 with_nls="--enable-nls" | 87 with_nls="--enable-nls" |
88 else | 88 else |
89 with_nls="--disable-nls" | 89 with_nls="--disable-nls" |
90 fi | 90 fi |
91 | 91 |
92 build() | 92 rm -rf $PKGNAME-$PKGVERSION |
93 { | 93 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
94 rm -rf $PKGNAME-$PKGVERSION | 94 cd $PKGNAME-$PKGVERSION |
95 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
96 cd $PKGNAME-$PKGVERSION | |
97 | 95 |
98 # --disable-python: does not support Python 3 yet. | 96 # --disable-python: does not support Python 3 yet. |
99 CC="$CC" \ | 97 CC="$CC" \ |
100 CFLAGS="$CFLAGS" \ | 98 CFLAGS="$CFLAGS" \ |
101 CXX="$CXX" \ | 99 CXX="$CXX" \ |
102 CXXFLAGS="$CXXFLAGS" \ | 100 CXXFLAGS="$CXXFLAGS" \ |
103 LDFLAGS="$LDFLAGS" \ | 101 LDFLAGS="$LDFLAGS" \ |
104 LIBS="$LIBS" \ | 102 LIBS="$LIBS" \ |
105 ./configure \ | 103 ./configure \ |
106 --build=$CBUILD \ | 104 --build=$CBUILD \ |
107 --host=$CHOST \ | 105 --host=$CHOST \ |
108 --prefix= \ | 106 --prefix= \ |
109 --sbindir=/bin \ | 107 --sbindir=/bin \ |
110 --disable-gtk \ | 108 --disable-gtk \ |
111 --disable-qt3 \ | 109 --disable-qt3 \ |
112 --disable-qt4 \ | 110 --disable-qt4 \ |
113 --disable-mono \ | 111 --disable-mono \ |
114 --disable-monodoc \ | 112 --disable-monodoc \ |
115 --disable-python \ | 113 --disable-python \ |
116 --with-xml=expat \ | 114 --with-xml=expat \ |
117 --with-distro="none" \ | 115 --with-distro="none" \ |
118 --without-systemdsystemunitdir \ | 116 --without-systemdsystemunitdir \ |
119 $with_dbus \ | 117 $with_dbus \ |
120 $with_glib \ | 118 $with_glib \ |
121 $with_gobject \ | 119 $with_gobject \ |
122 $with_gtk \ | 120 $with_gtk \ |
123 $with_introspection \ | 121 $with_introspection \ |
124 $with_nls | 122 $with_nls |
125 make | 123 make |
126 make install DESTDIR=$DESTDIR | 124 make install DESTDIR=$DESTDIR |
127 rmdir $DESTDIR/run | 125 rmdir $DESTDIR/run |
128 find $DESTDIR -type f -name "*.la" -delete | 126 find $DESTDIR -type f -name "*.la" -delete |
129 install -Dm644 ../avahi $DESTDIR/etc/rc.d/avahi | 127 install -Dm644 ../avahi $DESTDIR/etc/rc.d/avahi |
130 | 128 |
131 cd .. | 129 cd .. |
132 rm -rf $PKGNAME-$PKGVERSION | 130 rm -rf $PKGNAME-$PKGVERSION |
133 } |