wok-next diff lighttpd-ssl/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 | eb8067417980 |
children | e6759743694c |
line diff
1.1 --- a/lighttpd-ssl/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/lighttpd-ssl/receipt Sun Mar 02 14:27:39 2014 +0100 1.3 @@ -13,6 +13,11 @@ 1.4 WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" 1.5 CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf /etc/ssl/lighttpd" 1.6 PROVIDE="lighttpd" 1.7 +HOST_ARCH="i468 arm" 1.8 + 1.9 +DEPENDS="pcre openssl" 1.10 +BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" 1.11 + 1.12 BASE_MODULES=" 1.13 access 1.14 accesslog 1.15 @@ -25,9 +30,6 @@ 1.16 status 1.17 userdir" 1.18 1.19 -DEPENDS="pcre openssl" 1.20 -BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" 1.21 - 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 @@ -83,6 +85,12 @@ 1.26 chown 80.80 $fs/var/log/lighttpd 1.27 } 1.28 1.29 +# Make sur it as cross compile properly 1.30 +testsuite() 1.31 +{ 1.32 + readelf -h $install/usr/sbin/lighttpd 1.33 +} 1.34 + 1.35 # Pre and post install commands for Tazpkg. 1.36 # We stop the server by default in case of upgarde. 1.37 pre_install()