summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-07-02 11:37:34 +0000
committerrodent <rodent@pkgsrc.org>2013-07-02 11:37:34 +0000
commit672838ea89e58a7a9c12bf89014fed7acb915e1e (patch)
tree71836f1102a87ab51820eae723780e90e9caf004 /time
parent9168465392192b7279f9a78c9d37db37450604ea (diff)
downloadpkgsrc-672838ea89e58a7a9c12bf89014fed7acb915e1e.tar.gz
Import libgcal-0.9.6 as time/libgcal.
Its an ANSI C library that does allow communication with google calendar and contacts, useful if you need to support this in a C or C++ application. Currently, libgcal implements: - authentication - get all events/contacts - atom stream parsing - access to individual events/contacts - add/delete/edit using gcal objects - add/delete/edit using raw XML - query for updated events/contacts - use of http proxy - timezone - contact photo download/upload - google data protocol GCalendar 2.0 and Contacts 3.0 - can be used with a C++ application - google hosted accounts (i.e. joe@foobar.com)
Diffstat (limited to 'time')
-rw-r--r--time/libgcal/DESCR18
-rw-r--r--time/libgcal/Makefile24
-rw-r--r--time/libgcal/PLIST16
-rw-r--r--time/libgcal/buildlink3.mk17
-rw-r--r--time/libgcal/distinfo5
5 files changed, 80 insertions, 0 deletions
diff --git a/time/libgcal/DESCR b/time/libgcal/DESCR
new file mode 100644
index 00000000000..77c85184b70
--- /dev/null
+++ b/time/libgcal/DESCR
@@ -0,0 +1,18 @@
+Its an ANSI C library that does allow communication with google calendar and
+contacts, useful if you need to support this in a C or C++ application.
+
+Currently, libgcal implements:
+
+ - authentication
+ - get all events/contacts
+ - atom stream parsing
+ - access to individual events/contacts
+ - add/delete/edit using gcal objects
+ - add/delete/edit using raw XML
+ - query for updated events/contacts
+ - use of http proxy
+ - timezone
+ - contact photo download/upload
+ - google data protocol GCalendar 2.0 and Contacts 3.0
+ - can be used with a C++ application
+ - google hosted accounts (i.e. joe@foobar.com)
diff --git a/time/libgcal/Makefile b/time/libgcal/Makefile
new file mode 100644
index 00000000000..d2e94196786
--- /dev/null
+++ b/time/libgcal/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/07/02 11:37:34 rodent Exp $
+#
+
+DISTNAME= libgcal-0.9.6
+CATEGORIES= time
+MASTER_SITES= http://libgcal.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://code.google.com/p/libgcal/
+COMMENT= C library allows communication with google calendar and contacts
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= libgcal.pc.in
+
+.include "../../devel/check/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/libgcal/PLIST b/time/libgcal/PLIST
new file mode 100644
index 00000000000..a2725226bfd
--- /dev/null
+++ b/time/libgcal/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/02 11:37:34 rodent Exp $
+include/libgcal/atom_parser.h
+include/libgcal/curl_debug_gcal.h
+include/libgcal/gcal.h
+include/libgcal/gcal_parser.h
+include/libgcal/gcal_status.h
+include/libgcal/gcalendar.h
+include/libgcal/gcont.h
+include/libgcal/gcontact.h
+include/libgcal/internal_gcal.h
+include/libgcal/xml_aux.h
+lib/LibGCal/cmake/LibGCalConfig.cmake
+lib/libgcal.so
+lib/libgcal.so.0
+lib/libgcal.so.${PKGVERSION}
+lib/pkgconfig/libgcal.pc
diff --git a/time/libgcal/buildlink3.mk b/time/libgcal/buildlink3.mk
new file mode 100644
index 00000000000..ac45688cc84
--- /dev/null
+++ b/time/libgcal/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/07/02 11:37:34 rodent Exp $
+
+BUILDLINK_TREE+= libgcal
+
+.if !defined(LIBGCAL_BUILDLINK3_MK)
+LIBGCAL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgcal+= libgcal>=0.9.6
+BUILDLINK_PKGSRCDIR.libgcal?= ../../time/libgcal
+
+.include "../../devel/check/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.endif # LIBGCAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libgcal
diff --git a/time/libgcal/distinfo b/time/libgcal/distinfo
new file mode 100644
index 00000000000..335f805ad01
--- /dev/null
+++ b/time/libgcal/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/02 11:37:34 rodent Exp $
+
+SHA1 (libgcal-0.9.6.tar.bz2) = d616b911a99b1846851371184dcd547dccf548de
+RMD160 (libgcal-0.9.6.tar.bz2) = 1ee61c22190d929178d9c75ced8a984536e2c1e2
+Size (libgcal-0.9.6.tar.bz2) = 555942 bytes