termux-packages/packages/libandroid-glob/build.sh
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

10 lines
396 B
Bash

TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function"
TERMUX_PKG_VERSION=0.2
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_make_install () {
cp $TERMUX_PKG_BUILDER_DIR/glob.h $TERMUX_PREFIX/include/
$CC $CFLAGS $CPPFLAGS $LDFLAGS $TERMUX_PKG_BUILDER_DIR/glob.c -shared -o $TERMUX_PREFIX/lib/libandroid-glob.so
}