]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - pkgs/lighttpd/lighttpd.nm
Change file layout of the makefiles.
[people/stevee/ipfire-3.x.git] / pkgs / lighttpd / lighttpd.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = lighttpd
7 version = 1.4.29
8 release = 1
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = Networking/Webservers
12 url = http://www.lighttpd.net/
13 license = BSD
14 summary = Lightning fast webserver with light system requirements.
15
16 description
17 Secure, fast, compliant and very flexible web-server which has been optimized \
18 for high-performance environments. It has a very low memory footprint compared \
19 to other webservers and takes care of cpu-load. Its advanced feature-set \
20 (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make \
21 it the perfect webserver-software for every server that is suffering load \
22 problems.
23 end
24
25 source_dl =
26
27 build
28 requires
29 bzip2-devel
30 gdbm-devel
31 openldap-devel
32 openssl-devel
33 pcre-devel
34 pkg-config
35 zlib-devel
36 end
37
38 configure_options += \
39 --libdir=/usr/lib/%{name} \
40 --with-ldap \
41 --with-openssl
42
43 install_cmds
44 mkdir -pv %{BUILDROOT}/etc
45 cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}/etc/%{name}.conf
46
47 mkdir -pv %{BUILDROOT}/var/log/%{name}
48 touch %{BUILDROOT}/var/log/%{name}/{access,error}.log
49 chown nobody.nobody -R %{BUILDROOT}/var/log/%{name}
50 mkdir -pv %{BUILDROOT}/var/cache/lighttpd/compress
51 chown nobody.nobody -Rv %{BUILDROOT}/var/cache/lighttpd/
52 end
53 end
54
55 packages
56 package %{name}
57 end
58 end