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
228cc33c
Commit
228cc33c
authored
Jun 11, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dos2unix package
parent
c3f7b343
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
packages/dos2unix.rb
packages/dos2unix.rb
+22
-0
No files found.
packages/dos2unix.rb
0 → 100644
View file @
228cc33c
require
'package'
class
Dos2unix
<
Package
description
'dos2unix includes utilities to convert text files with DOS or Mac line endings to Unix line endings and vice versa.'
homepage
'http://freecode.com/projects/dos2unix'
version
'7.3.4'
source_url
'https://sourceforge.net/projects/dos2unix/files/dos2unix/7.3.4/dos2unix-7.3.4.tar.gz'
source_sha1
'f19641741806b8411566144bfdf56df718b4aca0'
def
self
.
build
system
'make'
system
'make strip'
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp dos2unix
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp mac2unix
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp unix2dos
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp unix2mac
#{
CREW_DEST_DIR
}
/usr/local/bin"
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