milis/talimatname/genel/varnish/talimat

25 lines
581 B
Plaintext
Raw Normal View History

2017-04-20 10:49:58 +02:00
# Description: 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-04-20 10:49:58 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: 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
}