2020-12-30 20:17:40 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/jinfeihan57/p7zip
|
2016-09-26 22:28:22 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Command-line version of the 7zip compressed file archiver"
|
2019-03-06 10:08:23 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-04-04 12:38:46 +02:00
|
|
|
TERMUX_PKG_VERSION=17.04
|
2021-10-22 10:01:24 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2020-12-30 20:17:40 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/jinfeihan57/p7zip/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-04-04 12:38:46 +02:00
|
|
|
TERMUX_PKG_SHA256=ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-12-30 20:17:40 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libiconv"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2015-12-21 18:32:50 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2020-12-30 20:17:40 +01:00
|
|
|
export CXXFLAGS="$CXXFLAGS $CPPFLAGS -Wno-c++11-narrowing"
|
|
|
|
export LDFLAGS="$LDFLAGS -liconv"
|
2015-12-21 18:32:50 +01:00
|
|
|
cp makefile.android_arm makefile.machine
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2018-05-20 14:36:54 +02:00
|
|
|
LD="$CC $LDFLAGS" CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" \
|
2020-11-18 00:25:50 +01:00
|
|
|
make -j $TERMUX_MAKE_PROCESSES 7z 7za OPTFLAGS="${CXXFLAGS}" DEST_HOME=$TERMUX_PREFIX
|
2015-12-21 18:32:50 +01:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2020-11-18 00:25:50 +01:00
|
|
|
chmod +x install.sh
|
2015-12-21 18:59:34 +01:00
|
|
|
make install DEST_HOME=$TERMUX_PREFIX DEST_MAN=$TERMUX_PREFIX/share/man
|
2015-12-21 18:32:50 +01:00
|
|
|
}
|