wok-current 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 | ad0940dfc5c8 |
children | 94e38c8709e5 |
files | lighttpd-modules/receipt lighttpd-ssl/receipt lighttpd/receipt |
line diff
1.1 --- a/lighttpd-modules/receipt Sun Mar 02 14:10:27 2014 +0100 1.2 +++ b/lighttpd-modules/receipt Sun Mar 02 14:27:39 2014 +0100 1.3 @@ -8,6 +8,10 @@ 1.4 LICENSE="BSD" 1.5 WANTED="lighttpd" 1.6 WEB_SITE="http://www.lighttpd.net/" 1.7 +HOST_ARCH="i468 arm" 1.8 + 1.9 +DEPENDS="lighttpd bzip2 zlib" 1.10 + 1.11 BASE_MODULES=" 1.12 access 1.13 accesslog 1.14 @@ -20,8 +24,6 @@ 1.15 status 1.16 userdir" 1.17 1.18 -DEPENDS="lighttpd bzip2 zlib" 1.19 - 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 # On SliTaz Lighttpd runs as user/group : www/www or 80/80. 1.22 genpkg_rules() 1.23 @@ -34,5 +36,4 @@ 1.24 rm -f $fs/usr/lib/lighttpd/mod_${module}.so 1.25 done 1.26 rm -f $fs/usr/lib/lighttpd/*.la 1.27 - strip -s $fs/usr/lib/lighttpd/* 1.28 }
2.1 --- a/lighttpd-ssl/receipt Sun Mar 02 14:10:27 2014 +0100 2.2 +++ b/lighttpd-ssl/receipt Sun Mar 02 14:27:39 2014 +0100 2.3 @@ -13,6 +13,11 @@ 2.4 WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" 2.5 CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf /etc/ssl/lighttpd" 2.6 PROVIDE="lighttpd" 2.7 +HOST_ARCH="i468 arm" 2.8 + 2.9 +DEPENDS="pcre openssl" 2.10 +BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" 2.11 + 2.12 BASE_MODULES=" 2.13 access 2.14 accesslog 2.15 @@ -25,9 +30,6 @@ 2.16 status 2.17 userdir" 2.18 2.19 -DEPENDS="pcre openssl" 2.20 -BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" 2.21 - 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 { 2.25 @@ -83,6 +85,12 @@ 2.26 chown 80.80 $fs/var/log/lighttpd 2.27 } 2.28 2.29 +# Make sur it as cross compile properly 2.30 +testsuite() 2.31 +{ 2.32 + readelf -h $install/usr/sbin/lighttpd 2.33 +} 2.34 + 2.35 # Pre and post install commands for Tazpkg. 2.36 # We stop the server by default in case of upgarde. 2.37 pre_install()
3.1 --- a/lighttpd/receipt Sun Mar 02 14:10:27 2014 +0100 3.2 +++ b/lighttpd/receipt Sun Mar 02 14:27:39 2014 +0100 3.3 @@ -11,6 +11,13 @@ 3.4 WEB_SITE="http://www.lighttpd.net/" 3.5 WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" 3.6 CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf" 3.7 +HOST_ARCH="i468 arm" 3.8 + 3.9 +DEPENDS="pcre" 3.10 +BUILD_DEPENDS="pcre-dev bzip2-dev" 3.11 + 3.12 +# Modules include in this package. Other modules are splited in 3.13 +# the lighttpd-modules packages. 3.14 BASE_MODULES=" 3.15 access 3.16 accesslog 3.17 @@ -23,9 +30,6 @@ 3.18 status 3.19 userdir" 3.20 3.21 -DEPENDS="pcre" 3.22 -BUILD_DEPENDS="pcre-dev bzip2-dev" 3.23 - 3.24 # Rules to configure and make the package. 3.25 compile_rules() 3.26 { 3.27 @@ -69,6 +73,12 @@ 3.28 chown 80.80 $fs/var/log/lighttpd 3.29 } 3.30 3.31 +# Make sur it as cross compile properly 3.32 +testsuite() 3.33 +{ 3.34 + readelf -h $install/usr/sbin/$PACKAGE 3.35 +} 3.36 + 3.37 # Pre and post install commands for Tazpkg. 3.38 # We stop the server by default in case of upgarde. 3.39 pre_install()