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
0b25c567
Commit
0b25c567
authored
Feb 23, 2021
by
saltedcoffii
Committed by
GitHub
Feb 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[New Package] irrlicht (#5253)
* [New Package] irrlicht * CREW_DEST_LIB_PREFIX
parent
534ae827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
packages/irrlicht.rb
packages/irrlicht.rb
+36
-0
No files found.
packages/irrlicht.rb
0 → 100644
View file @
0b25c567
require
'package'
class
Irrlicht
<
Package
description
'An open source realtime 3D engine written in C++.'
homepage
'http://irrlicht.sourceforge.net/'
version
'1.8.4'
compatibility
'all'
source_url
'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip'
source_sha256
'f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433'
depends_on
'libxrandr'
depends_on
'libglvnd'
depends_on
'libxxf86vm'
depends_on
'libjpeg'
depends_on
'libpng'
def
self
.
build
Dir
.
chdir
'source/Irrlicht'
do
system
'make'
system
'make clean'
system
'make sharedlib'
end
end
def
self
.
install
FileUtils
.
mkdir_p
CREW_DEST_LIB_PREFIX
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/include/irrlicht"
FileUtils
.
cp
Dir
.
glob
(
"include/*"
),
"
#{
CREW_DEST_PREFIX
}
/include/irrlicht"
FileUtils
.
cp
'lib/Linux/libIrrlicht.a'
,
CREW_DEST_LIB_PREFIX
FileUtils
.
cp
'lib/Linux/libIrrlicht.so.1.8.4'
,
CREW_DEST_LIB_PREFIX
Dir
.
chdir
CREW_DEST_LIB_PREFIX
do
FileUtils
.
symlink
'libIrrlicht.so.1.8.4'
,
'libIrrlicht.so.1'
FileUtils
.
symlink
'libIrrlicht.so.1.8.4'
,
'libIrrlicht.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