summaryrefslogtreecommitdiff
path: root/recipes/libcgicc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-15 01:11:36 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-15 01:15:21 -0700
commit2bc7690bb202a33d450df83bd45fd64337954d93 (patch)
treeae77927061a6d3531c3a797a842a9ea59396109f /recipes/libcgicc
parentb230286329e96ca4fe7b00140f566796b9cfc025 (diff)
libcgicc: Add new recipe for 3.2.8 release
* Move common parts to libcgicc.inc * Add new recipe for 3.2.8 release * Fixes bug 5314 * Thanks to Jim Sheldon for reporting and providing a recipe for 3.2.7 release. Unfortunately that recipe did not work well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/libcgicc')
-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}"