wok view prosody/receipt @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents ad0940dfc5c8
children 2aa55e5540fb
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.9.4"
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="lua libidn libssl libcrypto"
15 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm*) luapath="/cross/$ARCH/sysroot" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --ostype=linux \
28 --c-compiler=${HOST_SYSTEM}-gcc \
29 --linker=${HOST_SYSTEM}-gcc \
30 --with-lua=${luapath}/usr \
31 --with-lua-lib=${luapath}/usr/lib \
32 --with-lua-include=${luapath}/usr/include &&
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 }