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
4e5cb5b5
Commit
4e5cb5b5
authored
Mar 13, 2021
by
Ed Reel
Committed by
GitHub
Mar 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add phpsysinfo package (#5412)
parent
86edeb91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
packages/phpsysinfo.rb
packages/phpsysinfo.rb
+25
-0
No files found.
packages/phpsysinfo.rb
0 → 100644
View file @
4e5cb5b5
require
'package'
class
Phpsysinfo
<
Package
description
'phpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely.'
homepage
'https://phpsysinfo.github.io/phpsysinfo/'
version
'3.3.3'
compatibility
'all'
source_url
'https://downloads.sourceforge.net/project/phpsysinfo/phpsysinfo/3.3.3/phpsysinfo-3.3.3.tar.gz'
source_sha256
'08f083b73cdb35a17449a4d771b65b8439b05ab5f4982782a53275d345dea30f'
depends_on
'php74'
unless
File
.
exists?
"
#{
CREW_PREFIX
}
/bin/php"
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/phpsysinfo"
FileUtils
.
cp
'phpsysinfo.ini.new'
,
'phpsysinfo.ini'
FileUtils
.
mv
Dir
.
glob
(
'*'
),
"
#{
CREW_DEST_PREFIX
}
/share/phpsysinfo/"
end
def
self
.
postinstall
puts
"
\n
To get started, execute the following:"
.
lightblue
puts
"cd
#{
CREW_PREFIX
}
/share/phpsysinfo"
.
lightblue
puts
"php -S localhost:9000"
.
lightblue
puts
"Visit localhost:9000 in your browser.
\n
"
.
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