You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
446 B
11 lines
446 B
TERMUX_PKG_HOMEPAGE=https://refspecs.linuxbase.org/LSB_2.1.0/LSB-generic/LSB-generic/libutil.html
|
|
TERMUX_PKG_DESCRIPTION="Library with terminal functions"
|
|
TERMUX_PKG_VERSION=0.2
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
termux_step_make_install () {
|
|
CFLAGS+=" -std=c11"
|
|
$CC $CFLAGS -c -fPIC $TERMUX_PKG_BUILDER_DIR/pty.c -o pty.o
|
|
$CC -shared -fPIC $LDFLAGS -o $TERMUX_PREFIX/lib/libutil.so pty.o
|
|
cp $TERMUX_PKG_BUILDER_DIR/pty.h $TERMUX_PREFIX/include/
|
|
}
|
|
|