mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 18:43:51 +02:00
varnish: remove long_desc; cross build support.
This commit is contained in:
parent
837c4c21fb
commit
e4274a9a95
1 changed files with 6 additions and 11 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'varnish'
|
# Template file for 'varnish'
|
||||||
pkgname=varnish
|
pkgname=varnish
|
||||||
version=3.0.3
|
version=3.0.3
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
makedepends="pkg-config pcre-devel readline-devel"
|
hostmakedepends="pkg-config python"
|
||||||
|
makedepends="pcre-devel readline-devel"
|
||||||
conf_files="/etc/varnish/default.vcl"
|
conf_files="/etc/varnish/default.vcl"
|
||||||
systemd_services="varnish.service on"
|
systemd_services="varnish.service on"
|
||||||
make_dirs="/var/varnish 750 nobody nogroup"
|
make_dirs="/var/varnish 750 nobody nogroup"
|
||||||
|
@ -14,13 +15,6 @@ license="Simplified BSD"
|
||||||
homepage="https://www.varnish-cache.org/"
|
homepage="https://www.varnish-cache.org/"
|
||||||
distfiles="http://repo.varnish-cache.org/source/${pkgname}-${version}.tar.gz"
|
distfiles="http://repo.varnish-cache.org/source/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2d37d18d952f58b208ac3a0706d4d3e4c0de304b1fcc9df5019571c75f148ab2
|
checksum=2d37d18d952f58b208ac3a0706d4d3e4c0de304b1fcc9df5019571c75f148ab2
|
||||||
long_desc="
|
|
||||||
Varnish Cache is a web application accelerator also known as a caching HTTP
|
|
||||||
reverse proxy. You install it in front of any server that speaks HTTP and
|
|
||||||
configure it to cache the contents. Varnish Cache is really, really fast.
|
|
||||||
It typically speeds up delivery with a factor of 300 - 1000x, depending on
|
|
||||||
your architecture. A high level overview of what Varnish does can be seen
|
|
||||||
in the video attached to this web page."
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# systemd reload helper
|
# systemd reload helper
|
||||||
|
@ -32,16 +26,17 @@ post_install() {
|
||||||
libvarnishapi_package() {
|
libvarnishapi_package() {
|
||||||
short_desc+=" - API runtime library"
|
short_desc+=" - API runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libvarnishapi-devel_package() {
|
libvarnishapi-devel_package() {
|
||||||
depends="libvarnishapi>=${version}"
|
depends="libvarnishapi>=${version}_${revision}"
|
||||||
short_desc+=" - API development files"
|
short_desc+=" - API development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/man/man3
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue