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)
This commit is contained in:
rodent 2013-07-02 11:37:34 +00:00
parent 60683bcb75
commit 62f7b26f79
5 changed files with 80 additions and 0 deletions

18
time/libgcal/DESCR Normal file
View file

@ -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)

24
time/libgcal/Makefile Normal file
View file

@ -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"

16
time/libgcal/PLIST Normal file
View file

@ -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

View file

@ -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

5
time/libgcal/distinfo Normal file
View file

@ -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