2016-09-26 22:28:22 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://p7zip.sourceforge.net/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Command-line version of the 7zip compressed file archiver"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2016-09-26 22:28:22 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Francisco Demartino @franciscod"
|
2018-05-20 14:36:54 +02:00
|
|
|
TERMUX_PKG_VERSION=16.02
|
2017-07-14 00:23:37 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2017-03-27 01:56:11 +02:00
|
|
|
TERMUX_PKG_SHA256=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
|
2018-05-20 14:36:54 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/p7zip/p7zip/${TERMUX_PKG_VERSION}/p7zip_${TERMUX_PKG_VERSION}_src_all.tar.bz2
|
2015-12-21 18:32:50 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2018-09-19 23:29:39 +02:00
|
|
|
export CXXFLAGS="$CXXFLAGS -Wno-c++11-narrowing"
|
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" \
|
|
|
|
make -j $TERMUX_MAKE_PROCESSES all3 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() {
|
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
|
|
|
}
|