wok-next view prosody/receipt @ rev 20955
Update Perl packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 03 10:09:42 2018 +0300 (2018-09-03) |
parents | 5ff15b52c2eb |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.9.14"
5 CATEGORY="network"
6 SHORT_DESC="xmpp-jabber server in lua"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://prosody.im"
11 WGET_URL="$WEB_SITE/downloads/source/$TARBALL"
13 DEPENDS="lua5.1 libidn openssl luaexpat luasocket luafilesystem libidn libcrypto"
14 BUILD_DEPENDS="lua5.1-dev libidn-dev openssl-dev luaexpat luasocket luafilesystem libidn-dev libcrypto"
16 # Handle cross compilation
17 case "$ARCH" in
18 arm*) luapath="/cross/$ARCH/sysroot" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --ostype=linux \
27 --c-compiler=${HOST_SYSTEM}-gcc \
28 --linker=${HOST_SYSTEM}-gcc \
29 --with-lua=${luapath}/usr \
30 --with-lua-lib=${luapath}/usr/lib \
31 --runwith=lua5.1 \
32 --with-lua-include=${luapath}/usr/include/lua/5.1 &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/etc $fs
43 cp -a $install/var $fs
44 }