summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libcgicc/libcgicc.inc15
-rw-r--r--recipes/libcgicc/libcgicc_3.2.3.bb15
-rw-r--r--recipes/libcgicc/libcgicc_3.2.8.bb2
3 files changed, 18 insertions, 14 deletions
diff --git a/recipes/libcgicc/libcgicc.inc b/recipes/libcgicc/libcgicc.inc
new file mode 100644
index 0000000000..ee7a1f5afe
--- /dev/null
+++ b/recipes/libcgicc/libcgicc.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "a C++ class library for writing CGI applications"
+HOMEPAGE = "http://www.gnu.org/software/cgicc/"
+LICENSE = "http://www.gnu.org/software/cgicc/doc/cgicc_license.html"
+
+SRC_URI = "ftp://ftp.gnu.org/gnu/cgicc/cgicc-${PV}.tar.gz"
+
+S = "${WORKDIR}/cgicc-${PV}"
+
+inherit autotools
+
+do_stage () {
+ install -d ${STAGING_INCDIR}/cgicc
+ cp -LR cgicc/*.h ${STAGING_INCDIR}/cgicc
+ oe_libinstall -C cgicc libcgicc ${STAGING_LIBDIR}
+}
diff --git a/recipes/libcgicc/libcgicc_3.2.3.bb b/recipes/libcgicc/libcgicc_3.2.3.bb
index dc066f1f2f..da7c954c5a 100644
--- a/recipes/libcgicc/libcgicc_3.2.3.bb
+++ b/recipes/libcgicc/libcgicc_3.2.3.bb
@@ -1,14 +1 @@
-DESCRIPTION = "a C++ class library for writing CGI applications"
-HOMEPAGE = "http://www.cgicc.org/"
-LICENSE = "LGPL"
-
-SRC_URI = "http://www.cgicc.org/files/cgicc-${PV}.tar.bz2"
-S = "${WORKDIR}/cgicc-${PV}"
-
-inherit autotools
-
-do_stage () {
- install -d ${STAGING_INCDIR}/cgicc
- cp -LR cgicc/*.h ${STAGING_INCDIR}/cgicc
- oe_libinstall -C cgicc libcgicc ${STAGING_LIBDIR}
-}
+require libcgicc.inc
diff --git a/recipes/libcgicc/libcgicc_3.2.8.bb b/recipes/libcgicc/libcgicc_3.2.8.bb
new file mode 100644
index 0000000000..16b70fb019
--- /dev/null
+++ b/recipes/libcgicc/libcgicc_3.2.8.bb
@@ -0,0 +1,2 @@
+require libcgicc.inc
+EXTRA_OECONF += " --disable-demos --htmldir=${docdir}"