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
2451d4b5
Commit
2451d4b5
authored
Jan 05, 2018
by
Gangstead
Committed by
GitHub
Jan 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1613 from uberhacker/add-tpp-package
Add tpp package
parents
45f5bcc9
7dba29e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
packages/tpp.rb
packages/tpp.rb
+29
-0
No files found.
packages/tpp.rb
0 → 100644
View file @
2451d4b5
require
'package'
class
Tpp
<
Package
description
'tpp stands for text presentation program and is an ncurses-based presentation tool.'
homepage
'http://www.ngolde.de/tpp.html'
version
'1.3.1'
source_url
'http://www.ngolde.de/download/tpp-1.3.1.tar.gz'
source_sha256
'68e3de94fbfb62bd91a6d635581bcf8671a306fffe615d00294d388ad91e1b5f'
binary_url
({
})
binary_sha256
({
})
depends_on
'ncurses'
def
self
.
build
installed
=
`gem list | grep ^ncurses-ruby`
system
"gem install ncurses-ruby"
unless
"
#{
installed
}
"
!=
""
system
"sed -i 's,prefix=/usr/local,prefix=
#{
CREW_DEST_PREFIX
}
,' Makefile"
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/bin"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/share/man/man1"
system
"make install"
system
"gzip -9
#{
CREW_DEST_PREFIX
}
/share/man/man1/tpp.1"
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