void-packages/srcpkgs/mongoose/template

37 lines
807 B
Plaintext
Raw Normal View History

2012-06-19 10:13:53 +02:00
# Template file for 'mongoose'
pkgname=mongoose
2013-04-23 10:10:48 +02:00
version=3.7
2014-02-21 15:11:23 +01:00
revision=3
2012-06-19 10:13:53 +02:00
wrksrc=$pkgname
makedepends="openssl-devel"
2012-06-19 10:13:53 +02:00
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"
2013-04-23 10:10:48 +02:00
checksum=8376ede0378b6dd80ded78953726e9d3c18a2a8fd1a52a03efe949fd09d2ea68
2013-04-23 10:16:02 +02:00
do_build() {
COPT="-DNO_SSL_DL -lcrypto -lssl" make linux
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
}
mongoose-devel_package() {
2014-02-21 15:11:23 +01:00
depends="libmongoose>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2014-02-21 15:11:23 +01:00
vmove "usr/lib/*.so"
}
}
libmongoose_package() {
2014-02-21 15:11:23 +01:00
short_desc+=" - runtime library"
pkg_install() {
2014-02-21 15:11:23 +01:00
vmove "usr/lib/*.so.*"
}
}