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
Guillaume Hervier
chromebrew
Commits
2ff156a7
Commit
2ff156a7
authored
Jul 13, 2017
by
Damian Montero
Committed by
GitHub
Jul 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #863 from uberhacker/add-grabinfo-package
Add grabinfo package
parents
96a6f388
4e1e82d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
packages/grabinfo.rb
packages/grabinfo.rb
+30
-0
No files found.
packages/grabinfo.rb
0 → 100644
View file @
2ff156a7
require
'package'
class
Grabinfo
<
Package
description
'Navigates the /proc filesystem and executes commands in order to gather information about the state of your machine.'
homepage
'https://sourceforge.net/projects/grabinfo/'
version
'1.71'
source_url
'https://downloads.sourceforge.net/project/grabinfo/grabinfo/1.71/grabinfo-1.71.tar.gz'
source_sha256
'3cf1e56aff10ef182065943a10ab815f2e8bf5ab77716dd97c2e91feb8db4278'
depends_on
'perl'
def
self
.
build
system
"sed -i 's,/usr/bin,/usr/local/bin,g' grabinfo"
system
"sed -i 's,/var/log,/usr/local/share,g' grabinfo"
system
"sed -i 's,/var/log,/usr/local/share,g' grabinfo.1"
system
"sed -i 's,/usr/lib,/usr/local/lib,g' Makefile"
system
"sed -i 's,/usr/share,/usr/local/share,g' Makefile"
system
"sed -i 's,/var/log,/usr/local/share,g' Makefile"
system
"make"
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/man/man1"
system
"cp grabinfo
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp GrabInfo.pm
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp -r GrabInfo/
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp grabinfo.1
#{
CREW_DEST_DIR
}
/usr/local/man/man1"
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