wok-next view prosody/receipt @ rev 16137
ARM: try to cross compile GTK on Tank
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 00:28:42 2014 +0100 (2014-03-26) |
parents | 51a1ebbda768 |
children | 4d5ea5783430 |
line source
1 # SliTaz package receipt.
3 PACKAGE="prosody"
4 VERSION="0.9.3"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr &&
22 make CC=${HOST_SYSTEM}-gcc &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/etc $fs
33 cp -a $install/var $fs
34 }