wok diff prosody/receipt @ rev 16337

Add slitaz-arm-adm (Can be used on other arch)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 12:20:54 2014 +0200 (2014-04-12)
parents 51a1ebbda768
children 4d5ea5783430
line diff
     1.1 --- a/prosody/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/prosody/receipt	Sat Apr 12 12:20:54 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="prosody"
     1.7 -VERSION="0.5.2"
     1.8 +VERSION="0.9.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="xmpp-jabber server in lua"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12 @@ -9,6 +9,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://prosody.im"
    1.15  WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
    1.16 +#HOST_ARCH="i486 arm"
    1.17  
    1.18  DEPENDS="lua libidn libssl libcrypto"
    1.19  BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
    1.20 @@ -16,10 +17,10 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	./configure \
    1.26 -		--prefix=/usr  &&
    1.27 -	make && make DESTDIR=$DESTDIR install
    1.28 +		--prefix=/usr &&
    1.29 +	make CC=${HOST_SYSTEM}-gcc && 
    1.30 +	make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 @@ -31,4 +32,3 @@
    1.35  	cp -a $install/etc $fs
    1.36  	cp -a $install/var $fs
    1.37  }
    1.38 -