mongoose: enable ssl support.

This commit is contained in:
Juan RP 2013-04-23 10:16:02 +02:00
parent 8cb556aec2
commit ab999a2251

View File

@ -1,11 +1,8 @@
# Template file for 'mongoose'
pkgname=mongoose
version=3.7
revision=1
revision=2
wrksrc=$pkgname
build_style=gnu-makefile
make_build_args="linux"
make_install_args="PREFIX=/usr MANDIR=share/man"
short_desc="An Easy to use Web server"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
@ -16,6 +13,16 @@ long_desc="
Mongoose is easy to use web server. It also can be used as embedded web server
library to provide web interface to applications."
makedepends="openssl-devel"
do_build() {
COPT="-DNO_SSL_DL -lcrypto -lssl" make linux
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
}
mongoose-devel_package() {
depends="libmongoose>=$version"
short_desc="An Easy to use Web server -- development files"