6c29aaa1c7
This will make things as std::to_string() and other C++ features work with a modern and supported C++ library. We package up libc++_shared.so and bump the revision of every C++ using package to make it rebuild against it. Users who have built C++ using libraries or programs will probably need to rebuild them if they are linked against Termux-supplied libraries, as user code was previously linked against gnustl while the system libraries are now using libc++, and it's not a good idea to mix C++ standard libraries in a program.
25 lines
925 B
Bash
25 lines
925 B
Bash
TERMUX_PKG_HOMEPAGE=http://p7zip.sourceforge.net/
|
|
TERMUX_PKG_DESCRIPTION="Command-line version of the 7zip compressed file archiver"
|
|
TERMUX_PKG_MAINTAINER="Francisco Demartino @franciscod"
|
|
# adapted from archlinux PKGBUILD
|
|
pkgname=p7zip
|
|
pkgver=16.02
|
|
TERMUX_PKG_VERSION=$pkgver
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}_src_all.tar.bz2"
|
|
TERMUX_PKG_SHA256=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
TERMUX_PKG_FOLDERNAME=${pkgname}_${pkgver}
|
|
|
|
termux_step_configure () {
|
|
cp makefile.android_arm makefile.machine
|
|
}
|
|
|
|
termux_step_make () {
|
|
LD="$CC $LDFLAGS" CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" make -j $TERMUX_MAKE_PROCESSES all3 OPTFLAGS="${CXXFLAGS}" DEST_HOME=$TERMUX_PREFIX
|
|
}
|
|
|
|
termux_step_make_install () {
|
|
make install DEST_HOME=$TERMUX_PREFIX DEST_MAN=$TERMUX_PREFIX/share/man
|
|
}
|