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
d599ae5c
Commit
d599ae5c
authored
May 31, 2017
by
lyxell
Committed by
GitHub
May 31, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into add-package-descriptions
parents
5aa6546d
19ac376a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
packages/readline.rb
packages/readline.rb
+10
-3
packages/readline7.rb
packages/readline7.rb
+24
-0
No files found.
packages/readline.rb
View file @
d599ae5c
...
...
@@ -3,15 +3,22 @@ require 'package'
class
Readline
<
Package
description
'The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.'
homepage
'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html'
version
'6.3'
version
'6.3
p8
'
source_url
'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz'
source_sha1
'017b92dc7fd4e636a2b5c9265a77ccc05798c9e1'
depends_on
'buildessential'
depends_on
'buildessential'
=>
:build
depends_on
'patch'
=>
:build
depends_on
'ncurses'
def
self
.
build
system
"CC='gcc' ./configure"
system
"wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-6.3-patches -P readline-6.3-patches"
# system "for i in readline-6.3-patches/*.sig; do gpg $i; done"
system
"for i in readline-6.3-patches/readline63-???; do patch < $i; done"
system
"CC='gcc' ./configure --disable-static --with-curses"
system
"make"
system
"find . -name 'lib*.so.*' -print | xargs strip -S"
end
def
self
.
install
...
...
packages/readline7.rb
0 → 100644
View file @
d599ae5c
require
'package'
class
Readline7
<
Package
version
'7.0p3'
source_url
'ftp://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz'
source_sha1
'd9095fa14a812495052357e1d678b3f2ac635463'
depends_on
'buildessential'
=>
:build
depends_on
'patch'
=>
:build
depends_on
'ncurses'
def
self
.
build
system
"wget -r -N -nd --no-parent ftp://ftp.gnu.org/gnu/readline/readline-7.0-patches -P readline-7.0-patches"
# system "for i in readline-7.0-patches/*.sig; do gpg $i; done"
system
"for i in readline-7.0-patches/readline70-???; do patch < $i; done"
system
"CC='gcc' ./configure --disable-static --with-curses"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"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