From: Will Newton Date: Thu, 2 Feb 2012 11:28:11 +0000 (+0000) Subject: liboauth: Add new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cee43cbcbd698f95025ecf3fe0697ecedf5f4aab;p=buildroot.git liboauth: Add new package [Peter: swap libcurl test around] Signed-off-by: Will Newton Signed-off-by: Peter Korsgaard --- diff --git a/package/Config.in b/package/Config.in index c506df8b91..66ee266932 100644 --- a/package/Config.in +++ b/package/Config.in @@ -350,6 +350,7 @@ source "package/libdnet/Config.in" source "package/libesmtp/Config.in" source "package/libeXosip2/Config.in" source "package/libidn/Config.in" +source "package/liboauth/Config.in" source "package/libmicrohttpd/Config.in" source "package/neon/Config.in" source "package/libmnl/Config.in" diff --git a/package/liboauth/Config.in b/package/liboauth/Config.in new file mode 100644 index 0000000000..77a78f115a --- /dev/null +++ b/package/liboauth/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBOAUTH + bool "liboauth" + select BR2_PACKAGE_OPENSSL + help + liboauth is a collection of c functions implementing the oAuth + Core 1.0 Rev A standard API. liboauth provides basic functions to + escape and encode parameters according to oAuth specs and offers + high-level functions to sign requests or verify signatures. + + http://liboauth.sourceforge.net/ diff --git a/package/liboauth/liboauth.mk b/package/liboauth/liboauth.mk new file mode 100644 index 0000000000..8646947914 --- /dev/null +++ b/package/liboauth/liboauth.mk @@ -0,0 +1,19 @@ +############################################################# +# +# liboauth +# +############################################################# +LIBOAUTH_VERSION = 0.9.6 +LIBOAUTH_SOURCE = liboauth-$(LIBOAUTH_VERSION).tar.gz +LIBOAUTH_SITE = http://liboauth.sourceforge.net/pool +LIBOAUTH_INSTALL_STAGING = YES + +LIBOAUTH_DEPENDENCIES += host-pkg-config openssl + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBOAUTH_DEPENDENCIES += libcurl +else +LIBOAUTH_CONF_OPT += --disable-libcurl +endif + +$(eval $(call AUTOTARGETS))