termux-packages/packages/xdelta3/build.sh

20 lines
608 B
Bash
Raw Normal View History

2020-07-17 07:01:50 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/jmacd/xdelta
TERMUX_PKG_DESCRIPTION='xdelta3 - VCDIFF (RFC 3284) binary diff tool'
TERMUX_PKG_LICENSE=Apache-2.0
TERMUX_PKG_MAINTAINER="@termux"
2020-07-17 07:01:50 +02:00
TERMUX_PKG_VERSION=3.1.0
TERMUX_PKG_REVISION=1
2020-07-17 07:01:50 +02:00
TERMUX_PKG_SRCURL=https://github.com/jmacd/xdelta/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7515cf5378fca287a57f4e2fee1094aabc79569cfe60d91e06021a8fd7bae29d
TERMUX_PKG_DEPENDS=liblzma
termux_step_post_get_source() {
2020-07-17 07:01:50 +02:00
TERMUX_PKG_SRCDIR+=/xdelta3
}
termux_step_pre_configure() {
autoreconf --install
CPPFLAGS+=" -DXD3_USE_LARGEFILE64 -D_FILE_OFFSET_BITS=64"
2020-07-17 07:01:50 +02:00
}