2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://termux.com/add-ons/api/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Termux API commands"
|
2015-07-31 03:19:50 +02:00
|
|
|
TERMUX_PKG_VERSION=0.7
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_make_install () {
|
|
|
|
mkdir -p $TERMUX_PREFIX/bin
|
|
|
|
for file in `ls $TERMUX_PKG_BUILDER_DIR/* | grep -v build.sh | grep -v termux-api.c`; do
|
|
|
|
cp $file $TERMUX_PREFIX/bin
|
|
|
|
done
|
2015-07-16 01:30:22 +02:00
|
|
|
$CC $CFLAGS -std=c11 -Wall -Wextra -pedantic -Werror $LDFLAGS $TERMUX_PKG_BUILDER_DIR/termux-api.c -o $TERMUX_PREFIX/bin/termux-api
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|