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
30e9f8ae
Commit
30e9f8ae
authored
Mar 15, 2018
by
Chris Thurber
Committed by
GitHub
Mar 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1962 from uberhacker/add-ansifilter-package
Add ansifilter package
parents
d00181ca
d2482641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
packages/ansifilter.rb
packages/ansifilter.rb
+25
-0
No files found.
packages/ansifilter.rb
0 → 100644
View file @
30e9f8ae
require
'package'
class
Ansifilter
<
Package
description
'Ansifilter parses common ANSI codes to remove them or to convert them to another colored text file format (HTML, TeX, LaTeX, RTF, Pango or BBCode).'
homepage
'http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php'
version
'2.10'
source_url
'http://www.andre-simon.de/zip/ansifilter-2.10.tar.bz2'
source_sha256
'23d2cf439d4ed4fbec8050b2826d61c244694ce06aaf8ca7d0ec1016afebee3f'
binary_url
({
})
binary_sha256
({
})
def
self
.
build
system
'mv makefile Makefile'
system
"sed -i 's,DESTDIR = ,DESTDIR =
#{
CREW_DEST_DIR
}
,' Makefile"
system
"sed -i 's,PREFIX = /usr,PREFIX =
#{
CREW_PREFIX
}
,' Makefile"
system
'make'
end
def
self
.
install
system
'make install'
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