# HG changeset patch # User Christophe Lincoln # Date 1393766859 -3600 # Node ID ade0043b3facb63a44cf3ab9988b3ecab630f011 # Parent ad0940dfc5c80af2138485ce3f69e379e3fc4afb lighttpd: add to ARM arch diff -r ad0940dfc5c8 -r ade0043b3fac lighttpd-modules/receipt --- a/lighttpd-modules/receipt Sun Mar 02 14:10:27 2014 +0100 +++ b/lighttpd-modules/receipt Sun Mar 02 14:27:39 2014 +0100 @@ -8,6 +8,10 @@ LICENSE="BSD" WANTED="lighttpd" WEB_SITE="http://www.lighttpd.net/" +HOST_ARCH="i468 arm" + +DEPENDS="lighttpd bzip2 zlib" + BASE_MODULES=" access accesslog @@ -20,8 +24,6 @@ status userdir" -DEPENDS="lighttpd bzip2 zlib" - # Rules to gen a SliTaz package suitable for Tazpkg. # On SliTaz Lighttpd runs as user/group : www/www or 80/80. genpkg_rules() @@ -34,5 +36,4 @@ rm -f $fs/usr/lib/lighttpd/mod_${module}.so done rm -f $fs/usr/lib/lighttpd/*.la - strip -s $fs/usr/lib/lighttpd/* } diff -r ad0940dfc5c8 -r ade0043b3fac lighttpd-ssl/receipt --- a/lighttpd-ssl/receipt Sun Mar 02 14:10:27 2014 +0100 +++ b/lighttpd-ssl/receipt Sun Mar 02 14:27:39 2014 +0100 @@ -13,6 +13,11 @@ WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf /etc/ssl/lighttpd" PROVIDE="lighttpd" +HOST_ARCH="i468 arm" + +DEPENDS="pcre openssl" +BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" + BASE_MODULES=" access accesslog @@ -25,9 +30,6 @@ status userdir" -DEPENDS="pcre openssl" -BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" - # Rules to configure and make the package. compile_rules() { @@ -83,6 +85,12 @@ chown 80.80 $fs/var/log/lighttpd } +# Make sur it as cross compile properly +testsuite() +{ + readelf -h $install/usr/sbin/lighttpd +} + # Pre and post install commands for Tazpkg. # We stop the server by default in case of upgarde. pre_install() diff -r ad0940dfc5c8 -r ade0043b3fac lighttpd/receipt --- a/lighttpd/receipt Sun Mar 02 14:10:27 2014 +0100 +++ b/lighttpd/receipt Sun Mar 02 14:27:39 2014 +0100 @@ -11,6 +11,13 @@ WEB_SITE="http://www.lighttpd.net/" WGET_URL="http://download.lighttpd.net/lighttpd/releases-1.4.x/$TARBALL" CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf" +HOST_ARCH="i468 arm" + +DEPENDS="pcre" +BUILD_DEPENDS="pcre-dev bzip2-dev" + +# Modules include in this package. Other modules are splited in +# the lighttpd-modules packages. BASE_MODULES=" access accesslog @@ -23,9 +30,6 @@ status userdir" -DEPENDS="pcre" -BUILD_DEPENDS="pcre-dev bzip2-dev" - # Rules to configure and make the package. compile_rules() { @@ -69,6 +73,12 @@ chown 80.80 $fs/var/log/lighttpd } +# Make sur it as cross compile properly +testsuite() +{ + readelf -h $install/usr/sbin/$PACKAGE +} + # Pre and post install commands for Tazpkg. # We stop the server by default in case of upgarde. pre_install()