source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libnss/Config.in"
+source "package/libsha1/Config.in"
source "package/nettle/Config.in"
source "package/ocf-linux/Config.in"
source "package/openssl/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBSHA1
+ bool "libsha1"
+ help
+ libsha1 is a tiny library providing SHA1 implementation,
+ created for facilitating X server compilation on devices
+ when larger libraries containing SHA1 implementations
+ (OpenSSL, Mozilla NSS) are not needed.
+
+ https://github.com/dottedmag/libsha1
--- /dev/null
+#############################################################
+#
+# libsha1
+#
+#############################################################
+
+LIBSHA1_VERSION = 0.3
+LIBSHA1_SITE = http://github.com/dottedmag/libsha1/tarball/$(LIBSHA1_VERSION)
+LIBSHA1_INSTALL_STAGING = YES
+
+# We're getting the source code from Github, so there is no generated
+# configure script in the tarball.
+LIBSHA1_AUTORECONF = YES
+
+$(eval $(autotools-package))