termux-packages/packages/avahi/build.sh
2021-11-25 11:32:44 +01:00

22 lines
684 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.avahi.org/
TERMUX_PKG_DESCRIPTION="A system for service discovery on a local network via mDNS/DNS-SD"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.8
TERMUX_PKG_SRCURL=https://github.com/lathiat/avahi/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c15e750ef7c6df595fb5f2ce10cac0fee2353649600e6919ad08ae8871e4945f
TERMUX_PKG_DEPENDS="glib, libandroid-glob, libcap, libdaemon, libevent, libexpat"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-dbus
--disable-gdbm
--disable-gtk3
--disable-pygobject
--disable-qt5
--with-distro=none
"
termux_step_pre_configure() {
autoreconf -fi
LDFLAGS+=" -landroid-glob"
}