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
a9835efe
Commit
a9835efe
authored
Jan 31, 2017
by
lyxell
Committed by
GitHub
Jan 31, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #436 from cstrouse/update-ncurses
Update ncurses to 6.0
parents
54f11000
df7e6d94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
35 deletions
+10
-35
packages/ncurses.rb
packages/ncurses.rb
+10
-4
packages/ncurses_so.rb
packages/ncurses_so.rb
+0
-31
No files found.
packages/ncurses.rb
View file @
a9835efe
require
'package'
require
'package'
class
Ncurses
<
Package
class
Ncurses
<
Package
version
'
5.9
'
version
'
6.0
'
source_url
'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-
5.9
.tar.gz'
source_url
'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-
6.0
.tar.gz'
source_sha1
'
3e042e5f2c7223bffdaac9646a533b8c758b65b5
'
source_sha1
'
acd606135a5124905da770803c05f1f20dd3b21c
'
depends_on
"diffutils"
depends_on
"diffutils"
def
self
.
build
def
self
.
build
system
"./configure CFLAGS=
\"
-fPIC
\"
--without-debug --prefix=/usr/local"
system
'./configure '
\
'CFLAGS=" -fPIC" '
\
'--without-debug '
\
'--prefix=/usr/local '
\
'--with-shared '
\
'--with-cxx-shared '
\
'--enable-widec'
system
"make"
system
"make"
end
end
...
...
packages/ncurses_so.rb
deleted
100644 → 0
View file @
54f11000
require
'package'
class
Ncurses_so
<
Package
version
'5.9'
source_url
'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz'
source_sha1
'3e042e5f2c7223bffdaac9646a533b8c758b65b5'
depends_on
"ncurses"
def
self
.
build
system
"./configure --prefix=/usr/local
\"
CFLAGS= -fPIC
\"
--without-debug --without-normal --with-shared"
system
"make"
end
def
self
.
install
out
=
"
#{
CREW_DEST_DIR
}
/usr/local/lib"
system
"mkdir -p
#{
out
}
"
[
"form"
,
"menu"
,
"ncurses"
,
"panel"
].
each
do
|
lib
|
system
"cp"
,
"lib/lib
#{
lib
}
.so.5.9"
,
out
FileUtils
.
cd
(
out
)
do
system
"ln -s lib
#{
lib
}
.so.5.9 lib
#{
lib
}
.so"
system
"ln -s lib
#{
lib
}
.so.5.9 lib
#{
lib
}
.so.5"
end
end
FileUtils
.
cd
(
out
)
do
system
"ln -s libncurses.so.5.9 libtinfo.so.5.9"
system
"ln -s libncurses.so.5 libtinfo.so.5"
system
"ln -s libncurses.so libtinfo.so"
end
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