WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [PATCH 2/2] add libfcgi to buildroot

[PATCH v3] package: add libfcgi fast cgi library.

by Arnout Vandecappelle (Essensium/Mind) :: Rate this Message:

| View in Thread

From: Rico Bachmann <bachmann@...>

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@...>
Signed-off-by: Rico Bachmann <bachmann@...>
---
Changes v3: now actually included the changes v2 (forgot the
-a to git commit :-)

Changes v2: corrected indentation of Config.in, removed redundant
arguments of AUTOTARGETS.
---
 package/Config.in          |    1 +
 package/libfcgi/Config.in  |    5 +++++
 package/libfcgi/libfcgi.mk |   12 ++++++++++++
 3 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 package/libfcgi/Config.in
 create mode 100644 package/libfcgi/libfcgi.mk

diff --git a/package/Config.in b/package/Config.in
index 7dc8887..76c89c7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -327,6 +327,7 @@ source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
 source "package/libdnet/Config.in"
 source "package/libeXosip2/Config.in"
+source "package/libfcgi/Config.in"
 source "package/libidn/Config.in"
 source "package/libmicrohttpd/Config.in"
 source "package/neon/Config.in"
diff --git a/package/libfcgi/Config.in b/package/libfcgi/Config.in
new file mode 100644
index 0000000..b31f06b
--- /dev/null
+++ b/package/libfcgi/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBFCGI
+ bool "libfcgi"
+ help
+  FCGI, a fastcgi developer library for C/C++
+  http://www.fastcgi.com/
diff --git a/package/libfcgi/libfcgi.mk b/package/libfcgi/libfcgi.mk
new file mode 100644
index 0000000..4625165
--- /dev/null
+++ b/package/libfcgi/libfcgi.mk
@@ -0,0 +1,12 @@
+##############################################################################
+#
+# libfcgi
+#
+##############################################################################
+LIBFCGI_VERSION = 2.4.0
+LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
+LIBFCGI_SITE = http://www.fastcgi.com/dist
+LIBFCGI_INSTALL_STAGING = YES
+LIBFCGI_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -lm"
+
+$(eval $(call AUTOTARGETS))
--
1.7.7

_______________________________________________
buildroot mailing list
buildroot@...
http://lists.busybox.net/mailman/listinfo/buildroot

 « Return to Thread: [PATCH 2/2] add libfcgi to buildroot