39 lines
954 B
Plaintext
39 lines
954 B
Plaintext
# Template file for 'mongoose'
|
|
pkgname=mongoose
|
|
version=3.7
|
|
revision=2
|
|
wrksrc=$pkgname
|
|
makedepends="openssl-devel"
|
|
short_desc="An Easy to use Web server"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://code.google.com/p/mongoose/"
|
|
distfiles="https://mongoose.googlecode.com/files/mongoose-$version.tgz"
|
|
checksum=8376ede0378b6dd80ded78953726e9d3c18a2a8fd1a52a03efe949fd09d2ea68
|
|
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."
|
|
|
|
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"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
libmongoose_package() {
|
|
short_desc="An Easy to use Web server -- shared library"
|
|
pkg_install() {
|
|
vmove usr/lib
|
|
}
|
|
}
|