Browse Source

Bump: libmsgpack, libtermkey, libunibilium, nodejs

android-5
Fredrik Fornwall 9 years ago
parent
commit
f571a06632
  1. 2
      packages/libmsgpack/build.sh
  2. 55
      packages/libtermkey/Makefile.patch
  3. 2
      packages/libtermkey/build.sh
  4. 2
      packages/libunibilium/build.sh
  5. 2
      packages/nodejs/build.sh

2
packages/libmsgpack/build.sh

@ -1,5 +1,5 @@
TERMUX_PKG_HOMEPAGE=https://github.com/msgpack/msgpack-c/
TERMUX_PKG_DESCRIPTION="MessagePack implementation for C and C++"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_VERSION=1.2.0
TERMUX_PKG_SRCURL=https://github.com/msgpack/msgpack-c/releases/download/cpp-${TERMUX_PKG_VERSION}/msgpack-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes

55
packages/libtermkey/Makefile.patch

@ -1,55 +0,0 @@
diff -u -r ../libtermkey-0.17/Makefile ./Makefile
--- ../libtermkey-0.17/Makefile 2014-01-06 13:03:51.000000000 -0500
+++ ./Makefile 2015-03-02 15:49:31.323905282 -0500
@@ -19,12 +19,14 @@
LDFLAGS+=-pg
endif
-ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1)
- CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
- LDFLAGS+=$(shell pkg-config --libs unibilium)
-else ifeq ($(shell pkg-config ncursesw && echo 1),1)
- CFLAGS +=$(shell pkg-config --cflags ncursesw)
- LDFLAGS+=$(shell pkg-config --libs ncursesw)
+PKG_CONFIG?=pkg-config
+
+ifeq ($(shell $(PKG_CONFIG) --atleast-version=0.1.0 unibilium && echo 1),1)
+ CFLAGS +=$(shell $(PKG_CONFIG) --cflags unibilium) -DHAVE_UNIBILIUM
+ LDFLAGS+=$(shell $(PKG_CONFIG) --libs unibilium)
+else ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
+ CFLAGS +=$(shell $(PKG_CONFIG) --cflags ncursesw)
+ LDFLAGS+=$(shell $(PKG_CONFIG) --libs ncursesw)
else
LDFLAGS+=-lncurses
endif
@@ -34,7 +36,7 @@
DEMOS=demo demo-async
-ifeq ($(shell pkg-config glib-2.0 && echo 1),1)
+ifeq ($(shell $(PKG_CONFIG) glib-2.0 && echo 1),1)
DEMOS+=demo-glib
endif
@@ -50,7 +52,7 @@
VERSION_REVISION=0
VERSION_AGE=11
-PREFIX=/usr/local
+PREFIX?=/usr/local
LIBDIR=$(PREFIX)/lib
INCDIR=$(PREFIX)/include
MANDIR=$(PREFIX)/share/man
@@ -72,10 +74,10 @@
$(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^
demo-glib.lo: demo-glib.c termkey.h
- $(LIBTOOL) --mode=compile --tag=CC $(CC) -o $@ -c $< $(shell pkg-config glib-2.0 --cflags)
+ $(LIBTOOL) --mode=compile --tag=CC $(CC) -o $@ -c $< $(shell $(PKG_CONFIG) glib-2.0 --cflags)
demo-glib: $(LIBRARY) demo-glib.lo
- $(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^ $(shell pkg-config glib-2.0 --libs)
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^ $(shell $(PKG_CONFIG) glib-2.0 --libs)
t/%.t: t/%.c $(LIBRARY) t/taplib.lo
$(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^

2
packages/libtermkey/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=http://www.leonerd.org.uk/code/libtermkey/
TERMUX_PKG_DESCRIPTION="Library for processing of keyboard entry for terminal-based programs"
TERMUX_PKG_VERSION=0.17
TERMUX_PKG_VERSION=0.18
TERMUX_PKG_SRCURL=http://www.leonerd.org.uk/code/libtermkey/libtermkey-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libunibilium"
TERMUX_PKG_BUILD_IN_SRC=yes

2
packages/libunibilium/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://github.com/mauke/unibilium
TERMUX_PKG_DESCRIPTION="Terminfo parsing library"
TERMUX_PKG_VERSION=1.1.6
TERMUX_PKG_VERSION=1.2.0
TERMUX_PKG_SRCURL=https://github.com/mauke/unibilium/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_FOLDERNAME=unibilium-${TERMUX_PKG_VERSION}

2
packages/nodejs/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=http://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_VERSION=4.1.1
TERMUX_PKG_VERSION=4.1.2
TERMUX_PKG_SRCURL=https://nodejs.org/dist/latest/node-v${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--dest-os=android --shared-openssl --shared-zlib --shared-libuv"
TERMUX_PKG_DEPENDS="openssl, libuv"

Loading…
Cancel
Save