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
b9d9cc2d
Commit
b9d9cc2d
authored
6 years ago
by
Chris Thurber
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2391 from uberhacker/add-tina-package
Add tina package
parents
24dd10f5
3a64bffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
packages/tina.rb
packages/tina.rb
+37
-0
No files found.
packages/tina.rb
0 → 100644
View file @
b9d9cc2d
require
'package'
class
Tina
<
Package
description
'Tina is a personal information manager with a curses interface.'
homepage
'http://devel.ringlet.net/misc/tina/'
version
'0.1.12'
source_url
'https://devel.ringlet.net/files/misc/tina/tina-0.1.12.tar.xz'
source_sha256
'108cec9d1dbd938c67f3fae2e4238e12d064f1d12bd0d9debd0ee3ac79553edf'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/tina-0.1.12-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/tina-0.1.12-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/tina-0.1.12-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/tina-0.1.12-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'07d4a2cdbffe0286a98b28ee0041d6d8cdb40ca18721c8dc4aeebcfd95416559'
,
armv7l:
'07d4a2cdbffe0286a98b28ee0041d6d8cdb40ca18721c8dc4aeebcfd95416559'
,
i686:
'decefb2b9b8b30d1e34e8b82ddb89a4a416f5613352b75342922e068f26a3344'
,
x86_64:
'5112dcef239f9f6e8b68eb420529d01e889fe84ae9f009e86bc21030096e2273'
,
})
def
self
.
build
system
"sed -i 's,<curses.h>,<
#{
CREW_PREFIX
}
/include/ncurses/curses.h>,' curslib.c"
system
"sed -i 's,<curses.h>,<
#{
CREW_PREFIX
}
/include/ncurses/curses.h>,' error.c"
system
"sed -i 's,<curses.h>,<
#{
CREW_PREFIX
}
/include/ncurses/curses.h>,' main.c"
system
"sed -i 's,<curses.h>,<
#{
CREW_PREFIX
}
/include/ncurses/curses.h>,' view.c"
system
'./configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
end
This diff is collapsed.
Click to expand it.
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