wok-6.x view prosody/receipt @ rev 22322

updated yelp-tools and yelp-xsl
author Hans-G?nter Theisgen
date Thu Nov 14 17:10:01 2019 +0100 (2019-11-14)
parents 2aa55e5540fb
children 456e88491abe
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.11.2"
5 CATEGORY="network"
6 SHORT_DESC="Xmpp-jabber server in lua."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://prosody.im"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
14 DEPENDS="lua libidn libssl libcrypto"
15 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*) luapath="/cross/$ARCH/sysroot" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --ostype=linux \
30 --c-compiler=${HOST_SYSTEM}-gcc \
31 --linker=${HOST_SYSTEM}-gcc \
32 --with-lua=${luapath}/usr \
33 --with-lua-lib=${luapath}/usr/lib \
34 --with-lua-include=${luapath}/usr/include &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/etc $fs
47 cp -a $install/var $fs
48 }