2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html
|
|
|
|
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2019-08-06 15:58:26 +02:00
|
|
|
TERMUX_PKG_VERSION=0.6
|
2019-08-14 13:27:16 +02:00
|
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
2019-08-06 15:56:48 +02:00
|
|
|
TERMUX_PKG_BREAKS="libandroid-glob-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libandroid-glob-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-07-20 10:42:33 +02:00
|
|
|
termux_step_make() {
|
|
|
|
$CC $CFLAGS $CPPFLAGS -I$TERMUX_PKG_BUILDER_DIR -c $TERMUX_PKG_BUILDER_DIR/glob.c
|
|
|
|
$CC $LDFLAGS -shared glob.o -o libandroid-glob.so
|
|
|
|
$AR rcu libandroid-glob.a glob.o
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2019-07-20 10:42:33 +02:00
|
|
|
install -Dm600 $TERMUX_PKG_BUILDER_DIR/glob.h $TERMUX_PREFIX/include/glob.h
|
|
|
|
install -Dm600 libandroid-glob.a $TERMUX_PREFIX/lib/libandroid-glob.a
|
|
|
|
install -Dm600 libandroid-glob.so $TERMUX_PREFIX/lib/libandroid-glob.so
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|