wok-current annotate prosody/receipt @ rev 23788
updated yaws (2.0.6 -> 2.0.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 07:29:56 2020 +0100 (2020-05-22) |
parents | ca2d540db8f5 |
children | 83b97236db32 |
rev | line source |
---|---|
allan316@4404 | 1 # SliTaz package receipt. |
allan316@4404 | 2 |
allan316@4404 | 3 PACKAGE="prosody" |
Hans-G?nter@23448 | 4 VERSION="0.11.5" |
pankso@4804 | 5 CATEGORY="network" |
Hans-G?nter@21706 | 6 SHORT_DESC="Xmpp-jabber server in lua." |
allan316@4404 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15375 | 8 LICENSE="MIT" |
Hans-G?nter@21706 | 9 WEB_SITE="https://prosody.im" |
Hans-G?nter@21706 | 10 |
allan316@4404 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4404 | 12 WGET_URL="$WEB_SITE/downloads/source/$TARBALL" |
allan316@4404 | 13 |
Hans-G?nter@23448 | 14 DEPENDS="libcrypto libidn libssl lua" |
Hans-G?nter@23448 | 15 BUILD_DEPENDS="libidn-dev openssl-dev lua-dev" |
pascal@15375 | 16 |
Hans-G?nter@21706 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21706 | 18 |
pankso@16578 | 19 # Handle cross compilation |
pankso@16578 | 20 case "$ARCH" in |
pankso@16578 | 21 arm*) luapath="/cross/$ARCH/sysroot" ;; |
pankso@16578 | 22 esac |
pankso@16578 | 23 |
allan316@4404 | 24 # Rules to configure and make the package. |
allan316@4404 | 25 compile_rules() |
allan316@4404 | 26 { |
Hans-G?nter@21706 | 27 ./configure \ |
Hans-G?nter@21706 | 28 --prefix=/usr \ |
Hans-G?nter@21706 | 29 --ostype=linux \ |
Hans-G?nter@21706 | 30 --c-compiler=${HOST_SYSTEM}-gcc \ |
Hans-G?nter@21706 | 31 --linker=${HOST_SYSTEM}-gcc \ |
Hans-G?nter@21706 | 32 --with-lua=${luapath}/usr \ |
Hans-G?nter@21706 | 33 --with-lua-lib=${luapath}/usr/lib \ |
pankso@16578 | 34 --with-lua-include=${luapath}/usr/include && |
Hans-G?nter@21706 | 35 make && |
Hans-G?nter@21706 | 36 make DESTDIR=$DESTDIR install |
allan316@4404 | 37 } |
allan316@4404 | 38 |
allan316@4404 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4404 | 40 genpkg_rules() |
allan316@4404 | 41 { |
allan316@4404 | 42 mkdir -p $fs/usr |
Hans-G?nter@21706 | 43 |
Hans-G?nter@21706 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21706 | 45 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21706 | 46 cp -a $install/etc $fs |
Hans-G?nter@21706 | 47 cp -a $install/var $fs |
allan316@4404 | 48 } |