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
4ad61d39
Commit
4ad61d39
authored
Feb 06, 2021
by
satmandu
Committed by
GitHub
Feb 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usbutils -> 013 (#5085)
* usbutils -> 013 * use #{CREW_PREFIX}
parent
8ccf3536
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
packages/usbutils.rb
packages/usbutils.rb
+18
-18
No files found.
packages/usbutils.rb
View file @
4ad61d39
...
...
@@ -3,31 +3,31 @@ require 'package'
class
Usbutils
<
Package
description
'Tools for examining usb devices'
homepage
'http://linux-usb.sourceforge.net/'
version
'012'
@_ver
=
'013'
version
@_ver
compatibility
'all'
source_url
'https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-012.tar.xz'
source_sha256
'
88634625f91840bc1993d2731cc081ee8d3b13d56069a95bdd6ac6ef0e063e46
'
source_url
"https://mirrors.kernel.org/pub/linux/utils/usb/usbutils/usbutils-
#{
@_ver
}
.tar.xz"
source_sha256
'
9e23494fcc78b7a80ee29a07dd179c95ae2f71509c35728dbbabc2d1cca41338
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
2
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
2
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
2
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
2-chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
3
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
3
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
3
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/usbutils-01
3-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
84309375b4d635563a2bdc47e55c5a95841d18a937fcb3af646b51f5e1af5b53
'
,
armv7l:
'
84309375b4d635563a2bdc47e55c5a95841d18a937fcb3af646b51f5e1af5b53
'
,
i686:
'
a174fbc8d94512af2591505a790226ec4230ea2236afe06f1ed119a33982b7c9
'
,
x86_64:
'
483f60e4d8dd5f44a2fabe7840e560c1d5eb67ae4eddca08f209dc8b30b9d4bc'
,
binary_sha256
({
aarch64:
'
07502628efc250a37a113baaf9d24c23f524ee3f7a9a5f5693a4454f3259d4e5
'
,
armv7l:
'
07502628efc250a37a113baaf9d24c23f524ee3f7a9a5f5693a4454f3259d4e5
'
,
i686:
'
ea0051d91206aab125e7cdd7c142123fdd0b43c06f9438dc10023060f8463ad4
'
,
x86_64:
'
09ebfe03787624a97ccf79e1e746ad3177b4ca4d991fa8ed2aa5de8227349d76'
})
depends_on
'libusb'
def
self
.
build
system
'./autogen.sh'
system
"./configure \
--prefix=
#{
CREW_PREFIX
}
\
--libdir=
#{
CREW_LIB_PREFIX
}
"
system
"env CFLAGS='-flto=auto -ltinfo' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure
#{
CREW_OPTIONS
}
"
end
def
self
.
install
...
...
@@ -40,8 +40,8 @@ class Usbutils < Package
puts
"It's recommended that you setup a cron job to update this file regularly."
.
lightblue
puts
'You can install a cron package by executing `crew install cronie`'
.
lightblue
puts
puts
'Add a cron job with something like the following:'
.
lightblue
puts
'Add a cron job with something like the following:'
.
lightblue
puts
'# Update usb.ids at 6pm daily.'
.
lightblue
puts
'0 18 * * * /usr/local/bin/crew postinstall usbutils >/dev/null 2>&1'
.
lightblue
puts
"0 18 * * *
#{
CREW_PREFIX
}
/bin/crew postinstall usbutils >/dev/null 2>&1"
.
lightblue
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