Browse Source

libsoc: add new package

[Peter: fix help text, doesn't need fork, file header, license tags]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yegor Yefremov 12 years ago
parent
commit
b7fe073678
3 changed files with 23 additions and 0 deletions
  1. 1 0
      package/Config.in
  2. 7 0
      package/libsoc/Config.in
  3. 15 0
      package/libsoc/libsoc.mk

+ 1 - 0
package/Config.in

@@ -542,6 +542,7 @@ source "package/libnfc/Config.in"
 source "package/libnfc-llcp/Config.in"
 source "package/libqmi/Config.in"
 source "package/libserial/Config.in"
+source "package/libsoc/Config.in"
 source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"

+ 7 - 0
package/libsoc/Config.in

@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBSOC
+	bool "libsoc"
+	help
+	  libsoc is a C library for interfacing with common SoC
+	  peripherals through generic kernel interfaces
+
+	  https://github.com/jackmitch/libsoc

+ 15 - 0
package/libsoc/libsoc.mk

@@ -0,0 +1,15 @@
+################################################################################
+#
+# libsoc
+#
+################################################################################
+
+LIBSOC_VERSION = 356760dcb93b22d6c67c5232cde2ade8c968c932
+LIBSOC_SITE = http://github.com/jackmitch/libsoc/tarball/$(LIBSOC_VERSION)
+LIBSOC_LICENSE = LGPLv2.1
+LIBSOC_LICENSE_FILES = COPYING
+LIBSOC_AUTORECONF = YES
+LIBSOC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
+