Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
f2820ad8
Commit
f2820ad8
authored
Jan 16, 2018
by
Damian Montero
Committed by
GitHub
Jan 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1640 from uberhacker/add-libusb-package
Add libusb package
parents
34f1e033
8780b794
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
packages/libusb.rb
packages/libusb.rb
+31
-0
No files found.
packages/libusb.rb
0 → 100644
View file @
f2820ad8
require
'package'
class
Libusb
<
Package
description
'A cross-platform library that gives apps easy access to USB devices'
homepage
'https://sourceforge.net/projects/libusb/'
version
'1.0.21'
source_url
'http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.21/libusb-1.0.21.tar.bz2'
source_sha256
'7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b'
binary_url
({
})
binary_sha256
({
})
depends_on
'eudev'
def
self
.
build
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
end
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
def
self
.
check
system
'make'
,
'check'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment