termux-packages/packages/avahi/build.sh

22 lines
684 B
Bash
Raw Normal View History

2021-11-24 17:09:27 +01:00
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
2021-11-24 17:16:07 +01:00
TERMUX_PKG_DEPENDS="glib, libandroid-glob, libcap, libdaemon, libevent, libexpat"
2021-11-24 17:09:27 +01:00
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"
}