Leonid Plyushch 5 years ago
parent
commit
550b88349b
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 7
      disabled-packages/elixir/build.sh
  2. 10
      disabled-packages/libgeos/build.sh
  3. 14
      disabled-packages/nethack/build.sh
  4. 25
      disabled-packages/nethack/sys-unix-hints-linux.patch

7
disabled-packages/elixir/build.sh

@ -1,7 +0,0 @@
TERMUX_PKG_HOMEPAGE=http://elixir-lang.org/
TERMUX_PKG_DESCRIPTION="Dynamic and functional language leveraging the Erlang VM"
TERMUX_PKG_VERSION=1.3.4
TERMUX_PKG_SRCURL=https://github.com/elixir-lang/elixir/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="erlang"
# TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ssl=openssl --disable-iri"
TERMUX_PKG_BUILD_IN_SRC=true

10
disabled-packages/libgeos/build.sh

@ -1,10 +0,0 @@
TERMUX_PKG_HOMEPAGE=https://trac.osgeo.org/geos
TERMUX_PKG_DESCRIPTION="GEOS - Geometry Engine"
GEOS_SNAPSHOT=20180414
TERMUX_PKG_VERSION=3.6.2.$GEOS_SNAPSHOT
TERMUX_PKG_SHA256=c328bc960cda60606d722291eb2e2ae0a85a8e062f2a43f3ffbe275c0108c1a0
TERMUX_PKG_SRCURL=https://geos.osgeo.org/snapshots/geos-$GEOS_SNAPSHOT.tar.bz2
TERMUX_PKG_DEPENDS="python"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-python --with-gnu-ld "

14
disabled-packages/nethack/build.sh

@ -1,14 +0,0 @@
TERMUX_PKG_HOMEPAGE=http://www.nethack.org/
TERMUX_PKG_DESCRIPTION="Dungeon crawl game"
TERMUX_PKG_VERSION=3.6.0
TERMUX_PKG_SRCURL=https://s3.amazonaws.com/altorg/nethack/nethack-360-src.tgz
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="ncurses"
termux_step_make_install() {
cd $TERMUX_PKG_SRCDIR/sys/unix
sh setup.sh hints/linux
cd $TERMUX_PKG_SRCDIR
make install
}

25
disabled-packages/nethack/sys-unix-hints-linux.patch

@ -1,25 +0,0 @@
diff -u -r ../nethack-3.6.0/sys/unix/hints/linux ./sys/unix/hints/linux
--- ../nethack-3.6.0/sys/unix/hints/linux 2015-11-16 07:47:05.000000000 -0500
+++ ./sys/unix/hints/linux 2016-05-21 20:41:10.277016227 -0400
@@ -10,9 +10,9 @@
#PREFIX=/usr
-PREFIX=$(wildcard ~)/nh/install
-HACKDIR=$(PREFIX)/games/lib/$(GAME)dir
-SHELLDIR = $(PREFIX)/games
+PREFIX=@TERMUX_PREFIX@
+HACKDIR=$(PREFIX)/share/$(GAME)
+#SHELLDIR = $(PREFIX)/games
INSTDIR=$(HACKDIR)
VARDIR = $(HACKDIR)
@@ -21,7 +21,7 @@
POSTINSTALL=cp -n sys/unix/sysconf $(INSTDIR)/sysconf; $(CHOWN) $(GAMEUID) $(INSTDIR)/sysconf; $(CHGRP) $(GAMEGRP) $(INSTDIR)/sysconf; chmod $(VARFILEPERM) $(INSTDIR)/sysconf;
CFLAGS=-g -O -I../include -DNOTPARMDECL $(CFLAGS1) -DDLB
-CFLAGS1=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
+CFLAGS1=-DCOMPRESS=\"@TERMUX_PREFIX@/bin/applets/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
CFLAGS+=-DSYSCF -DSYSCF_FILE=\"$(HACKDIR)/sysconf\" -DSECURE
CFLAGS+=-DHACKDIR=\"$(HACKDIR)\"
Loading…
Cancel
Save