diff options
author | David Anders <dave123@abcsinc.com> | 2006-01-23 19:58:19 +0000 |
---|---|---|
committer | David Anders <dave123@abcsinc.com> | 2006-01-23 19:58:19 +0000 |
commit | 7940e40825c64a6b5df40584eb2bff7464c73cc2 (patch) | |
tree | f8da36cad7439adaf6d8dfd43fe2c77ead6005f4 /package | |
parent | ba72c1a6ab45252ef2f1961b1ecf4e112c98c1d7 (diff) | |
download | buildroot-novena-7940e40825c64a6b5df40584eb2bff7464c73cc2.tar.gz buildroot-novena-7940e40825c64a6b5df40584eb2bff7464c73cc2.zip |
added package libcgicc per case 0000423
Diffstat (limited to 'package')
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/libcgicc/Config.in | 9 | ||||
-rw-r--r-- | package/libcgicc/libcgicc.mk | 60 |
3 files changed, 70 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index fa055f0da..ebdfb81e2 100644 --- a/package/Config.in +++ b/package/Config.in @@ -54,6 +54,7 @@ source "package/iptables/Config.in" source "package/jpeg/Config.in" source "package/less/Config.in" source "package/libcgi/Config.in" +source "package/libcgicc/Config.in" source "package/libelf/Config.in" source "package/libfloat/Config.in" source "package/libglib12/Config.in" diff --git a/package/libcgicc/Config.in b/package/libcgicc/Config.in new file mode 100644 index 000000000..fa7e5c348 --- /dev/null +++ b/package/libcgicc/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBCGICC + bool "libcgicc" + default n + select BR2_INSTALL_LIBSTDCPP + help + GNU cgicc is a C++ class library that greatly simplifies + the creation of CGI applications for the World Wide Web. + + http://www.cgicc.com diff --git a/package/libcgicc/libcgicc.mk b/package/libcgicc/libcgicc.mk new file mode 100644 index 000000000..6601c5443 --- /dev/null +++ b/package/libcgicc/libcgicc.mk @@ -0,0 +1,60 @@ +############################################################# +# +# licgicc +# +############################################################# + +LIBCGICC_VERSION=3.2.3 +LIBCGICC_DIR=$(BUILD_DIR)/cgicc-$(LIBCGICC_VERSION) +LIBCGICC_SITE=http://www.cgicc.org/files +LIBCGICC_SOURCE=cgicc-$(LIBCGICC_VERSION).tar.bz2 +LIBCGICC_CAT:=bzcat + +$(DL_DIR)/$(LIBCGICC_SOURCE): + $(WGET) -P $(DL_DIR) $(LIBCGICC_SITE)/$(LIBCGICC_SOURCE) + +libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE) + +$(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE) + $(LIBCGICC_CAT) $(DL_DIR)/$(LIBCGICC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + touch $(LIBCGICC_DIR)/.unpacked + +$(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked + (cd $(LIBCGICC_DIR); \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) " \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=$(STAGING_DIR) \ + ); + touch $(LIBCGICC_DIR)/.configured + +$(LIBCGICC_DIR)/.compiled: $(LIBCGICC_DIR)/.configured + $(MAKE) -C $(LIBCGICC_DIR) + touch $(LIBCGICC_DIR)/.compiled + +$(STAGING_DIR)/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled + $(MAKE) -C $(LIBCGICC_DIR) install + touch -c $(STAGING_DIR)/lib/libcgicc.so + +$(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/lib/libcgicc.so + cp -dpf $(STAGING_DIR)/lib/libcgicc.so* $(TARGET_DIR)/usr/lib/ + +libcgicc: uclibc $(TARGET_DIR)/usr/lib/libcgicc.so + +libcgicc-clean: + -$(MAKE) -C $(LIBCGICC_DIR) clean + +libcgicc-dirclean: + rm -rf $(LIBCGICC_DIR) + +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_LIBCGICC)),y) +TARGETS+=libcgicc +endif |