Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TBK
aports
Commits
bb86dcaa
Commit
bb86dcaa
authored
Jan 22, 2021
by
TBK
Committed by
Leo
Jan 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/rizin: new aport
parent
c681e480
Pipeline
#69222
failed with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
testing/rizin/APKBUILD
testing/rizin/APKBUILD
+69
-0
No files found.
testing/rizin/APKBUILD
0 → 100644
View file @
bb86dcaa
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname
=
rizin
pkgver
=
0.1.0
pkgrel
=
0
pkgdesc
=
"UNIX-like reverse engineering framework and command-line toolset"
url
=
"https://rizin.re/"
# 32bit - 15/75 big FAIL 0.59s (exit status 1)
# s390x:
# 49/75 pdb FAIL 0.97s (exit status 1)
# 55/75 serialize_analysis FAIL 0.03s (exit status 1)
arch
=
"all !x86 !armv7 !armhf !s390x"
license
=
"GPL-3.0-or-later AND LGPL-3.0-or-later"
makedepends
=
"
cmake
meson
py3-yaml
capstone-dev
file-dev
libuv-dev
linux-headers
libzip-dev
lz4-dev
openssl-dev
tree-sitter-dev
xxhash-dev
zlib-dev
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-libs"
_testbins_commit
=
f0bbaa9c90acac376f09c5293386022fadc634d9
source
=
"
$pkgname
-
$pkgver
.tar.xz::https://github.com/rizinorg/rizin/releases/download/v
$pkgver
/rizin-src-v
$pkgver
.tar.xz
testbins.tar.gz::https://github.com/rizinorg/rizin-testbins/archive/
$_testbins_commit
.tar.gz
"
prepare
()
{
default_prepare
# bins used for testing
mv
"
$srcdir
/rizin-testbins-
$_testbins_commit
"
"
$builddir
/test/bins"
}
build
()
{
abuild-meson
\
-Duse_sys_capstone
=
true
\
-Duse_sys_magic
=
true
\
-Duse_sys_zip
=
true
\
-Duse_sys_zlib
=
true
\
-Duse_sys_lz4
=
true
\
-Duse_sys_xxhash
=
true
\
-Duse_sys_openssl
=
true
\
-Duse_sys_tree_sitter
=
true
\
-Duse_libuv
=
true
\
.
output
meson compile
${
JOBS
:+-j
${
JOBS
}}
-C
output
}
check
()
{
# Include the build rizin otherwise
# unit/test_rzpipe.c will fail
export
PATH
=
"
$PATH
:
$builddir
/output/binrz/rizin/"
meson
test
--no-rebuild
-v
-C
output
}
package
()
{
DESTDIR
=
"
$pkgdir
"
meson
install
--no-rebuild
-C
output
}
sha512sums
=
"3c6949df261f6fad66ebc801b3ffa2f42879e1ac4b3a043ad887f9dc4a411605c4271dc46330a1a0d8610416de3419a0cf99c70337d5e2d2071ff761b7c0a2b9 rizin-0.1.0.tar.xz
33ecc1e8386e5e10ffce1eb7d0fd609f3965db5285e5a64a4ef3d6f91f080a9d2d5e658f7eb7643c8488ec6cce8215f37924384c4f3d283aa0921ada9478401e testbins.tar.gz"
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