wok-current annotate prosody/receipt @ rev 22943

updated icewm again (1.3.8 -> 1.6.4)
author Hans-G?nter Theisgen
date Thu Feb 27 17:41:59 2020 +0100 (2020-02-27)
parents 2aa55e5540fb
children 456e88491abe
rev   line source
allan316@4404 1 # SliTaz package receipt.
allan316@4404 2
allan316@4404 3 PACKAGE="prosody"
Hans-G?nter@21707 4 VERSION="0.11.2"
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
pascal@15375 14 DEPENDS="lua libidn libssl libcrypto"
pascal@15375 15 BUILD_DEPENDS="lua-dev libidn-dev openssl-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 }