wok-current rev 21706

updated prosody (0.9.4 -> 0.11.2)
author Hans-G?nter Theisgen
date Thu Jun 06 17:46:50 2019 +0100 (2019-06-06)
parents cb3f10eaf9f6
children ca2d540db8f5
files prosody/receipt
line diff
     1.1 --- a/prosody/receipt	Thu Jun 06 17:38:24 2019 +0100
     1.2 +++ b/prosody/receipt	Thu Jun 06 17:46:50 2019 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="prosody"
     1.7 -VERSION="0.9.4"
     1.8 +VERSION="0.11.4"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="xmpp-jabber server in lua"
    1.11 +SHORT_DESC="Xmpp-jabber server in lua."
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://prosody.im"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://prosody.im"
    1.18  WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  DEPENDS="lua libidn libssl libcrypto"
    1.22  BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
    1.23  
    1.24 +HOST_ARCH="i486 arm"
    1.25 +
    1.26  # Handle cross compilation
    1.27  case "$ARCH" in
    1.28  	arm*) luapath="/cross/$ARCH/sysroot" ;;
    1.29 @@ -22,23 +24,25 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--ostype=linux \
    1.36 -		--c-compiler=${HOST_SYSTEM}-gcc \
    1.37 -		--linker=${HOST_SYSTEM}-gcc \
    1.38 -		--with-lua=${luapath}/usr \
    1.39 -		--with-lua-lib=${luapath}/usr/lib \
    1.40 +	./configure					\
    1.41 +		--prefix=/usr				\
    1.42 +		--ostype=linux				\
    1.43 +		--c-compiler=${HOST_SYSTEM}-gcc		\
    1.44 +		--linker=${HOST_SYSTEM}-gcc		\
    1.45 +		--with-lua=${luapath}/usr		\
    1.46 +		--with-lua-lib=${luapath}/usr/lib	\
    1.47  		--with-lua-include=${luapath}/usr/include &&
    1.48 -	make && make DESTDIR=$DESTDIR install
    1.49 +	make &&
    1.50 +	make DESTDIR=$DESTDIR install
    1.51  }
    1.52  
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56  	mkdir -p $fs/usr
    1.57 -	cp -a $install/usr/bin $fs/usr
    1.58 -	cp -a $install/usr/lib $fs/usr
    1.59 -	cp -a $install/etc $fs
    1.60 -	cp -a $install/var $fs
    1.61 +
    1.62 +	cp -a $install/usr/bin	$fs/usr
    1.63 +	cp -a $install/usr/lib	$fs/usr
    1.64 +	cp -a $install/etc	$fs
    1.65 +	cp -a $install/var	$fs
    1.66  }