wok-next view prosody/receipt @ rev 20691

aescrypt: add option for SHA256sum
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:42:16 2018 +0000 (2018-05-21)
parents e6615350078d
children 351cbc81ea27
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"
13 DEPENDS="lua libidn openssl"
14 BUILD_DEPENDS="lua-dev libidn-dev openssl-dev"
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 --with-lua-include=${luapath}/usr/include &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/etc $fs
42 cp -a $install/var $fs
43 }