33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Template file for 'rizin'
|
|
pkgname=rizin
|
|
version=0.4.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v4
|
|
-D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled
|
|
-D use_sys_lz4=enabled -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
|
|
-D use_sys_tree_sitter=enabled -D use_libuv=true -D local=disabled"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel libuv-devel
|
|
tree-sitter-devel file-devel openssl-devel"
|
|
short_desc="UNIX-like reverse engineering framework and command-line toolset"
|
|
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://github.com/rizinorg/rizin"
|
|
distfiles="https://github.com/rizinorg/${pkgname}/releases/download/v${version}/${pkgname}-src-v${version}.tar.xz"
|
|
checksum=669d956b997820a36e423cf35d482aa99849254b9658cef6844459912dfdbfb8
|
|
# requires some external files, not clear where they come from
|
|
make_check=no
|
|
|
|
|
|
rizin-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc="${short_desc} - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/include/librz
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|