wok diff lighttpd/receipt @ rev 15992
lighttpd: add to ARM arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 14:27:39 2014 +0100 (2014-03-02) |
parents | 8ebec64e4191 |
children | e6759743694c |
line diff
1.1 --- a/lighttpd/receipt Fri Nov 29 11:43:20 2013 +0000 1.2 +++ b/lighttpd/receipt Sun Mar 02 14:27:39 2014 +0100 1.3 @@ -11,6 +11,13 @@ 1.4 WEB_SITE="http://www.lighttpd.net/" 1.5 WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" 1.6 CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf" 1.7 +HOST_ARCH="i468 arm" 1.8 + 1.9 +DEPENDS="pcre" 1.10 +BUILD_DEPENDS="pcre-dev bzip2-dev" 1.11 + 1.12 +# Modules include in this package. Other modules are splited in 1.13 +# the lighttpd-modules packages. 1.14 BASE_MODULES=" 1.15 access 1.16 accesslog 1.17 @@ -23,9 +30,6 @@ 1.18 status 1.19 userdir" 1.20 1.21 -DEPENDS="pcre" 1.22 -BUILD_DEPENDS="pcre-dev bzip2-dev" 1.23 - 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 @@ -69,6 +73,12 @@ 1.28 chown 80.80 $fs/var/log/lighttpd 1.29 } 1.30 1.31 +# Make sur it as cross compile properly 1.32 +testsuite() 1.33 +{ 1.34 + readelf -h $install/usr/sbin/$PACKAGE 1.35 +} 1.36 + 1.37 # Pre and post install commands for Tazpkg. 1.38 # We stop the server by default in case of upgarde. 1.39 pre_install()