blob: ba3a0c5862e8b4cdd42734c84d74d74d9d7e90b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
. "$GRIMOIRE/FUNCTIONS"
SPELL=libstrophe
case "${LIBSTROPHE_BRANCH}" in
scm)
VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE="${SPELL}-scm.tar.xz"
SOURCE_URL[0]="git_http://github.com/strophe/${SPELL}.git:${SPELL}-scm"
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
;;
stable)
VERSION=0.13.1
SOURCE_HASH=sha512:e150567db75ce615d7946471d15f968f8825ae75aa349a3c3be4e960eaea0b4960ac4c2da9aec40e984678361d89db3055062aa523ef485e9ea58a761bbcceed
SOURCE=${SPELL}-${VERSION}.tar.xz
SOURCE_URL=https://github.com/strophe/${SPELL}/releases/download/${VERSION}/${SOURCE}
# Watch: https://github.com/strophe/libstrophe/tags tags/([0-9.]+)[.]tar
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
;;
esac
WEB_SITE="http://strophe.im/libstrophe/"
LICENSE[0]=MIT
LICENSE[1]=GPL
ENTERED=20131013
SHORT="minimal XMPP library written in C"
cat << EOF
libstrophe is a minimal XMPP library written in C. It has almost no
external dependencies, only an XML parsing library (expat or libxml are both
supported). It is designed for both POSIX and Windows systems.
EOF
|