Skip to content

Commit 3811f0d

Browse files
vitalysYouw
authored andcommitted
Added podspec to support releases via cocoapods (libusb#66)
1 parent fc677b8 commit 3811f0d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

dist/hidapi.podspec

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Pod::Spec.new do |spec|
2+
3+
spec.name = "hidapi"
4+
spec.version = "0.9.0"
5+
spec.summary = "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows."
6+
7+
spec.description = <<-DESC
8+
HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices on Windows, Linux, FreeBSD, and macOS. HIDAPI can be either built as a shared library (.so, .dll or .dylib) or can be embedded directly into a target application by adding a single source file (per platform) and a single header.
9+
DESC
10+
11+
spec.homepage = "https://github.com/libusb/hidapi"
12+
13+
spec.license = { :type=> "GNU GPLv3 or BSD or HIDAPI original", :file => "LICENSE.txt" }
14+
15+
spec.authors = { "Alan Ott" => "[email protected]",
16+
"Ludovic Rousseau" => "[email protected]",
17+
"libusb/hidapi Team" => "https://github.com/libusb/hidapi/blob/master/AUTHORS.txt",
18+
}
19+
20+
spec.platform = :osx
21+
spec.osx.deployment_target = "10.7"
22+
23+
spec.source = { :git => "https://github.com/libusb/hidapi.git", :tag => "#{spec.version}" }
24+
25+
spec.source_files = "mac/hid.c", "hidapi/hidapi.h"
26+
27+
spec.public_header_files = "hidapi/hidapi.h"
28+
29+
spec.frameworks = "IOKit", "CoreFoundation"
30+
31+
end

0 commit comments

Comments
 (0)