diff options
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/liboauth/Config.in | 10 | ||||
-rw-r--r-- | package/liboauth/liboauth.mk | 19 |
3 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index c506df8b9..66ee26693 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 000000000..77a78f115 --- /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 000000000..864694791 --- /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)) |