2012-06-19 08:13:53 +00:00
|
|
|
# Template file for 'mongoose'
|
|
|
|
pkgname=mongoose
|
2013-04-23 08:10:48 +00:00
|
|
|
version=3.7
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=7
|
2012-06-19 08:13:53 +00:00
|
|
|
wrksrc=$pkgname
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="libressl-devel"
|
2012-06-19 08:13:53 +00:00
|
|
|
short_desc="An Easy to use Web server"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-19 08:13:53 +00:00
|
|
|
license="MIT"
|
|
|
|
homepage="https://code.google.com/p/mongoose/"
|
|
|
|
distfiles="https://mongoose.googlecode.com/files/mongoose-$version.tgz"
|
2013-04-23 08:10:48 +00:00
|
|
|
checksum=8376ede0378b6dd80ded78953726e9d3c18a2a8fd1a52a03efe949fd09d2ea68
|
2013-04-14 02:24:51 +00:00
|
|
|
|
2013-04-23 08:16:02 +00:00
|
|
|
do_build() {
|
|
|
|
COPT="-DNO_SSL_DL -lcrypto -lssl" make linux
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
}
|
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
mongoose-devel_package() {
|
2014-02-21 14:11:23 +00:00
|
|
|
depends="libmongoose>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-21 14:11:23 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmongoose_package() {
|
2014-02-21 14:11:23 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
2014-02-21 14:11:23 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|