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
e46d2b13
Commit
e46d2b13
authored
Dec 29, 2016
by
Damian Montero
Committed by
GitHub
Dec 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #293 from minektur/master
add package for nethack4
parents
60c593f8
4e9308d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/nethack4.rb
packages/nethack4.rb
+33
-0
No files found.
packages/nethack4.rb
0 → 100644
View file @
e46d2b13
require
'package'
class
Nethack4
<
Package
# "nethack4" fork of nethack with a few patches and a modern build system
version
'4.3.0-beta2'
source_url
'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz'
source_sha1
'e261c0ac618589a47e63525ed56eb17e72b14754'
depends_on
'buildessential'
depends_on
'ncurses'
depends_on
'bison'
depends_on
'flex'
depends_on
'perl'
def
self
.
build
target
=
CREW_BREW_DIR
+
"nethack4-4.3-beta2/build"
system
"mkdir -p "
+
target
Dir
.
chdir
target
do
#build with rpath pointing at /usr/local
system
"/usr/local/bin/perl ../aimake --config-only -i /usr/local/ --directory-layout=prefix --without=gui"
system
"/usr/local/bin/perl ../aimake"
end
end
def
self
.
install
target
=
CREW_BREW_DIR
+
"nethack4-4.3-beta2/build"
Dir
.
chdir
target
do
#install in destdir so package manager can keep track
system
"/usr/local/bin/perl ../aimake --install-only -i
#{
CREW_DEST_DIR
}
/usr/local/ --directory-layout=prefix --without=gui"
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