2020-11-05 23:27:20 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://dar.linux.free.fr/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A full featured command-line backup tool, short for Disk ARchive"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-10-06 18:10:10 +02:00
|
|
|
TERMUX_PKG_VERSION=2.7.2
|
2021-12-08 13:42:12 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-11-05 23:27:20 +01:00
|
|
|
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/dar/dar/${TERMUX_PKG_VERSION}/dar-${TERMUX_PKG_VERSION}.tar.gz
|
2021-10-06 18:10:10 +02:00
|
|
|
TERMUX_PKG_SHA256=973fa977c19b32b1f9ecb62153c810ba8696f644eca048f214c77ad0e8eca255
|
2020-11-05 23:27:20 +01:00
|
|
|
TERMUX_PKG_DEPENDS="attr, libbz2, libgcrypt, liblzma, liblzo, zlib"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
if [ "$TERMUX_ARCH_BITS" = "32" ]; then
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-mode=32"
|
|
|
|
else
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-mode=64"
|
|
|
|
fi
|
|
|
|
CXXFLAGS+=" $CPPFLAGS"
|
|
|
|
}
|