command-not-found: Update description
[termux-packages] / packages / libcurl / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=http://curl.haxx.se/
2TERMUX_PKG_DESCRIPTION="Easy-to-use client-side URL transfer library"
3TERMUX_PKG_DEPENDS="openssl"
3d9556e1 4TERMUX_PKG_VERSION=7.43.0
59f0d218
FF
5TERMUX_PKG_SRCURL=http://curl.haxx.se/download/curl-${TERMUX_PKG_VERSION}.tar.bz2
6
7export TERMUX_CA_BUNDLE=$TERMUX_PREFIX/etc/ssl/cert.pem
8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ssl --with-ca-bundle=$TERMUX_CA_BUNDLE"
9TERMUX_PKG_RM_AFTER_INSTALL="bin/curl-config share/man/man1/curl-config.1"
10
11termux_step_post_make_install () {
12 # "port install p5-libwww-perl" needed on mac:
13 make ca-bundle
14 mkdir -p `dirname $TERMUX_CA_BUNDLE`
15 cp lib/ca-bundle.crt $TERMUX_CA_BUNDLE
16}