aalib: Add hack for DT_RUNPATH
This commit is contained in:
parent
6914b48d9d
commit
371bf382fe
@ -3,7 +3,25 @@ TERMUX_PKG_DESCRIPTION="A portable ASCII art graphic library"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.4rc5
|
||||
TERMUX_PKG_REVISION=8
|
||||
TERMUX_PKG_REVISION=9
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/aa-project/aalib-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
|
||||
TERMUX_PKG_DEPENDS="ncurses"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
local _bin=$TERMUX_PKG_BUILDDIR/_wrapper/bin
|
||||
mkdir -p $_bin
|
||||
local _cc=$(basename $CC)
|
||||
cat <<-EOF > $_bin/$_cc
|
||||
#!$(command -v sh)
|
||||
_shared=
|
||||
for f in "\$@"; do
|
||||
case "\$f" in
|
||||
-shared ) _shared=1 ;;
|
||||
esac
|
||||
done
|
||||
exec "$(command -v $_cc)" "\$@" \${_shared:+-Wl,-rpath=$TERMUX_PREFIX/lib}
|
||||
EOF
|
||||
chmod 0700 $_bin/$_cc
|
||||
export PATH=$_bin:$PATH
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High quality ascii-art image browser and animation playe
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.3.0rc1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/aa-project/aview/aview-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=42d61c4194e8b9b69a881fdde698c83cb27d7eda59e08b300e73aaa34474ec99
|
||||
TERMUX_PKG_DEPENDS="aalib, ncurses"
|
||||
TERMUX_PKG_DEPENDS="aalib (>> 1.4rc5-8)"
|
||||
|
Loading…
Reference in New Issue
Block a user