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
Łukasz Nowak
chromebrew
Commits
bbbeac6d
Commit
bbbeac6d
authored
Jun 01, 2020
by
Ed Reel
Committed by
GitHub
Jun 01, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into add-check-package-compatibility
parents
d78db0ba
ac07570d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
7 deletions
+96
-7
packages/motif.rb
packages/motif.rb
+42
-0
packages/nedit.rb
packages/nedit.rb
+47
-0
packages/v2ray.rb
packages/v2ray.rb
+7
-7
No files found.
packages/motif.rb
0 → 100644
View file @
bbbeac6d
require
'package'
class
Motif
<
Package
description
'Motif is a freely available source code distribution for the Motif user interface component toolkit.'
homepage
'https://motif.ics.com/'
version
'2.3.8'
source_url
'https://downloads.sourceforge.net/project/motif/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz'
source_sha256
'859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/motif-2.3.8-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'1c54520d4eaf0c6f9731aa486d63df65b6f0b32edef3eff2184dc6b699851b42'
,
armv7l:
'1c54520d4eaf0c6f9731aa486d63df65b6f0b32edef3eff2184dc6b699851b42'
,
i686:
'6ff165d03c99b80835f8e115712bcd54538c6a3024481e88cc8419043e3d070c'
,
x86_64:
'2eb3c2761fdae830ecf8ab30b406de48a566112e635d63456d802da5ff012081'
,
})
depends_on
'fontconfig'
depends_on
'freetype'
depends_on
'libjpeg'
depends_on
'libpng'
depends_on
'sommelier'
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
--with-x --enable-xft --enable-png --enable-jpeg"
system
'make'
end
def
self
.
check
system
'make'
,
'check'
end
def
self
.
install
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
end
packages/nedit.rb
0 → 100644
View file @
bbbeac6d
require
'package'
class
Nedit
<
Package
description
'A fast, compact Motif/X11 plain text editor, for most popular Unix systems.'
homepage
'https://sourceforge.net/projects/nedit/'
version
'5.7'
source_url
'https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-5.7-src.tar.gz'
source_sha256
'add9ac79ff973528ad36c86858238bac4f59896c27dbf285cbe6a4d425fca17a'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/nedit-5.7-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'4fba5943ef167821c201b21a09dece98b6d81cbcb79527c64e95000f4479c3d8'
,
armv7l:
'4fba5943ef167821c201b21a09dece98b6d81cbcb79527c64e95000f4479c3d8'
,
i686:
'a51c662322d42a5a9a040f0c5eda0535c1f03fbc3bb15cb4652a5c7fb5ede8b2'
,
x86_64:
'c2db0f40ee914ab92f65814953542ec9e5634415ea155076cf9e67f50e9428ed'
,
})
depends_on
'motif'
def
self
.
patch
system
"sed -i 's/
\$
@/linux/g' Makefile"
end
def
self
.
build
system
'make'
,
'linux'
Dir
.
chdir
'doc'
do
system
'make'
,
'man'
end
end
def
self
.
check
system
'make'
,
'check'
end
def
self
.
install
system
"install -Dm755 ./source/nc
#{
CREW_DEST_PREFIX
}
/bin/nc"
system
"install -Dm755 ./source/nedit
#{
CREW_DEST_PREFIX
}
/bin/nedit"
system
"install -Dm644 ./doc/nc.man
#{
CREW_DEST_MAN_PREFIX
}
/man1/nc.1"
system
"install -Dm644 ./doc/nedit.man
#{
CREW_DEST_MAN_PREFIX
}
/man1/nedit.1"
end
end
packages/v2ray.rb
View file @
bbbeac6d
...
@@ -3,19 +3,19 @@ require 'package'
...
@@ -3,19 +3,19 @@ require 'package'
class
V2ray
<
Package
class
V2ray
<
Package
description
'A platform for building proxies to bypass network restrictions.'
description
'A platform for building proxies to bypass network restrictions.'
homepage
'https://www.v2ray.com/'
homepage
'https://www.v2ray.com/'
version
'v4.23.
2
'
version
'v4.23.
3
'
compatibility
'all'
compatibility
'all'
case
ARCH
case
ARCH
when
'aarch64'
,
'armv7l'
when
'aarch64'
,
'armv7l'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
2
/v2ray-linux-arm.zip'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
3
/v2ray-linux-arm.zip'
source_sha256
'
6755c3f35e488e796ecf8d4765be0434057212aae13cd2041a1f275dffd59220
'
source_sha256
'
0b5f2dc349739d1e712798c04ef5cf94156729329dd66ff2c4c3e9927dd3f255
'
when
'i686'
when
'i686'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
2
/v2ray-linux-32.zip'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
3
/v2ray-linux-32.zip'
source_sha256
'
55ee0eeaefff9fa42703ecf62ff472610079c4e1e9f8ce1bc62da67559a99507
'
source_sha256
'
0657b335261edd6ffb24a29f1f594e92414901cc56e09711d9532e94a03f395b
'
when
'x86_64'
when
'x86_64'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
2
/v2ray-linux-64.zip'
source_url
'https://github.com/v2ray/v2ray-core/releases/download/v4.23.
3
/v2ray-linux-64.zip'
source_sha256
'
791b2974f2f8373844fc3f1e9d93534ebb35b7dfb2ee041de5d6ab9d33f06dd4
'
source_sha256
'
ad3c272b03cd682a427c70c4ea6079bfbf614bf5978f69a0d1b77d673aa913ae
'
end
end
def
self
.
install
def
self
.
install
...
...
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