wok-current view prosody/receipt @ rev 24385
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 07 11:38:23 2022 +0000 (2022-02-07) |
parents | ca2d540db8f5 |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.11.5"
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="libcrypto libidn libssl lua"
15 BUILD_DEPENDS="libidn-dev openssl-dev lua-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 }