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"
|
2016-04-14 00:42:14 +02:00
|
|
|
TERMUX_PKG_VERSION=0.2
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-08-14 13:27:16 +02:00
|
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
2016-04-14 00:42:14 +02:00
|
|
|
TERMUX_PKG_DEPENDS="openssl"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libcrypt-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libcrypt-dev"
|
2015-11-27 12:05:46 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2016-04-14 00:42:14 +02:00
|
|
|
$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/
|
|
|
|
}
|