termux-packages/packages/libical/build.sh
Fredrik Fornwall 679fbb0316 libical: Try out patch to fix PACKAGE_DATA_DIR
Without this patch the path compiled into the library is actually

  "/data/data/com.termux/files/usr/share/libical"/zoneinfo

with the extra quotes. This patch makes it

  /data/data/com.termux/files/usr/share/libical/zoneinfo

which will hopefully make the library work without calling
set_zone_directory(). See #1913.
2017-12-09 22:24:07 +01:00

8 lines
472 B
Bash

TERMUX_PKG_HOMEPAGE=http://libical.github.io/libical/
TERMUX_PKG_DESCRIPTION="Libical is an Open Source implementation of the iCalendar protocols and protocol data units"
TERMUX_PKG_VERSION=3.0.1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/libical/libical/releases/download/v$TERMUX_PKG_VERSION/libical-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="libxml2"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DSHARED_ONLY=true -DICAL_GLIB=false -DUSE_BUILTIN_TZDATA=true"