2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Varnish bir web uygulaması hızlandırıcısıdır.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.varnish-cache.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libedit pcre python-docutils
|
2017-04-20 10:49:58 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=varnish
|
|
|
|
|
version=4.0.3
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(
|
|
|
|
|
http://repo.varnish-cache.org/source/$name-$version.tar.gz
|
|
|
|
|
varnish.service)
|
|
|
|
|
|
|
|
|
|
build(){
|
|
|
|
|
cd $name-$version
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var/lib
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
# install the varnish init script
|
|
|
|
|
install -Dm755 $SRC/$name.service $PKG/etc/rc.d/init.d/$name
|
|
|
|
|
}
|