termux-packages/packages/libcrypt/build.sh

13 lines
480 B
Bash
Raw Normal View History

2015-11-27 12:05:46 +01:00
TERMUX_PKG_HOMEPAGE=http://michael.dipperstein.com/crypt/
TERMUX_PKG_DESCRIPTION="A crypt(3) implementation"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_VERSION=0.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_DEPENDS="openssl"
2015-11-27 12:05:46 +01:00
termux_step_make_install () {
$CC $CFLAGS $CPPFLAGS $LDFLAGS -Wall -Wextra -fPIC -shared $TERMUX_PKG_BUILDER_DIR/crypt3.c -lcrypto -o $TERMUX_PREFIX/lib/libcrypt.so
2015-11-27 12:05:46 +01:00
mkdir -p $TERMUX_PREFIX/include/
cp $TERMUX_PKG_BUILDER_DIR/crypt.h $TERMUX_PREFIX/include/
}