aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-22 23:32:38 +0200
committerEugen Wissner <belka@caraus.de>2026-09-22 23:32:38 +0200
commit93c11444174013050aac719fd9c48d79e6b7fa66 (patch)
treec8b5465c82d4fb528ecfeba1fdf10699d34217d8
parentb9f03cb474149ad5388f1d9c150f4e03b971a0ef (diff)
downloadslackbuilds-93c11444174013050aac719fd9c48d79e6b7fa66.tar.gz
librabbitmq-c: Renamed to rabbitmq-c
-rw-r--r--librabbitmq-c/slack-desc19
-rw-r--r--rabbitmq-c/README55
-rw-r--r--rabbitmq-c/rabbitmq-c.SlackBuild (renamed from librabbitmq-c/librabbitmq-c.SlackBuild)15
-rw-r--r--rabbitmq-c/rabbitmq-c.info (renamed from librabbitmq-c/librabbitmq-c.info)6
-rw-r--r--rabbitmq-c/slack-desc19
5 files changed, 84 insertions, 30 deletions
diff --git a/librabbitmq-c/slack-desc b/librabbitmq-c/slack-desc
deleted file mode 100644
index c6b1cc0..0000000
--- a/librabbitmq-c/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------|
-librabbitmq-c: librabbitmq-c (RabbitMQ / AMQP C client library)
-librabbitmq-c:
-librabbitmq-c: rabbitmq-c is a C-language client library implementing the AMQP
-librabbitmq-c: 0-9-1 protocol, for use with RabbitMQ or any other
-librabbitmq-c: AMQP-compliant message broker.
-librabbitmq-c:
-librabbitmq-c:
-librabbitmq-c:
-librabbitmq-c:
-librabbitmq-c:
-librabbitmq-c:
diff --git a/rabbitmq-c/README b/rabbitmq-c/README
new file mode 100644
index 0000000..5eda5e7
--- /dev/null
+++ b/rabbitmq-c/README
@@ -0,0 +1,55 @@
+This is a C-language AMQP client library for use with v2.0+ of the
+RabbitMQ broker.
+
+* `BUILD_EXAMPLES=ON/OFF` toggles building the examples.
+ OFF by default.
+
+* `BUILD_SHARED_LIBS=ON/OFF` toggles building rabbitmq-c as a shared
+ library.
+ ON by default.
+
+* `BUILD_STATIC_LIBS=ON/OFF` toggles building rabbitmq-c as a static
+ library.
+ OFF by default.
+
+* `BUILD_TESTS=ON/OFF` toggles building test code.
+ OFF by default.
+
+* `BUILD_TOOLS=ON/OFF` toggles building the command line tools.
+ ON by default.
+
+* `BUILD_TOOLS_DOCS=ON/OFF` toggles building the man pages for the
+ command line tools.
+ ON by default if BUILD_TOOLS is ON and xmlto is installed.
+
+* `ENABLE_SSL_SUPPORT=ON/OFF` toggles building rabbitmq-c with SSL
+ support.
+ ON by default if the OpenSSL headers and library can be found.
+
+* `BUILD_API_DOCS=ON/OFF` toggles building the Doxygen API documentation
+ OFF by default.
+
+* `RUN_SYSTEM_TESTS=ON/OFF` toggles building the system tests. Tests
+ require an accessible RabbitMQ server instance on localhost.
+ OFF by default.
+
+If BUILD_EXAMPLES=ON or BUILD_TESTS=ON then executable programs will
+be compiled from sources in /usr/doc/rabbitmq-c-$VERSION/examples/src/
+-and-or- /usr/doc/rabbitmq-c-$VERSION/examples/src/ The Extra Programs
+will be installed in /usr/doc/rabbitmq-c-$VERSION/{examples,tests}/bin/
+
+For Example, to build examples and tests:
+
+BUILD_EXAMPLES=ON BUILD_TESTS=ON ./rabbitmq-c.SlackBuild
+
+To build a nice html Doxygen API documentation tree in the directory
+/usr/doc/rabbitmq-c-$VERSION/html/ you need to pass BUILD_API_DOCS=ON
+to the script, for example
+
+ BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild
+
+To build examples, tests and the html documentation:
+
+BUILD_EXAMPLES=ON \
+BUILD_TESTS=ON \
+BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild
diff --git a/librabbitmq-c/librabbitmq-c.SlackBuild b/rabbitmq-c/rabbitmq-c.SlackBuild
index 45cdddc..d588412 100644
--- a/librabbitmq-c/librabbitmq-c.SlackBuild
+++ b/rabbitmq-c/rabbitmq-c.SlackBuild
@@ -24,8 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=librabbitmq-c
-SRCNAM=rabbitmq-c
+PRGNAM=rabbitmq-c
VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -102,9 +101,9 @@ make install/strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $TMP/$SRCNAM-$VERSION/README.md \
- $TMP/$SRCNAM-$VERSION/LICENSE \
- $TMP/$SRCNAM-$VERSION/ChangeLog.md \
+ $TMP/$PRGNAM-$VERSION/README.md \
+ $TMP/$PRGNAM-$VERSION/LICENSE \
+ $TMP/$PRGNAM-$VERSION/ChangeLog.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/librabbitmq-c/librabbitmq-c.info b/rabbitmq-c/rabbitmq-c.info
index 62aadab..376cd80 100644
--- a/librabbitmq-c/librabbitmq-c.info
+++ b/rabbitmq-c/rabbitmq-c.info
@@ -1,10 +1,10 @@
-PRGNAM="librabbitmq-c"
+PRGNAM="rabbitmq-c"
VERSION="0.17.0"
HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
-DOWNLOAD="https://github.com/alanxz/rabbitmq-c/archive/v0.17.0/rabbitmq-c-0.17.0.tar.gz"
+DOWNLOAD="https://mirrors.caraus.tech/hosted-sources/rabbitmq-c/rabbitmq-c-0.17.0.tar.gz"
MD5SUM="5dc34eb3b0684967932f08dd54e8bdc0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="rabbitmq-server"
MAINTAINER="Eugene Wissner"
EMAIL="belka@caraus.de"
diff --git a/rabbitmq-c/slack-desc b/rabbitmq-c/slack-desc
new file mode 100644
index 0000000..4732cfe
--- /dev/null
+++ b/rabbitmq-c/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+rabbitmq-c: rabbitmq-c (an AMQP client library for the RabbitMQ broker)
+rabbitmq-c:
+rabbitmq-c: rabbitmq-c is a C-language client library implementing the Advanced
+rabbitmq-c: Message Queuing Protocol (AMQP) 0-9-1 protocol, for use with RabbitMQ
+rabbitmq-c: or any other AMQP-compliant message broker.
+rabbitmq-c:
+rabbitmq-c:
+rabbitmq-c:
+rabbitmq-c:
+rabbitmq-c:
+rabbitmq-c: