33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'radare2'
|
|
pkgname=radare2
|
|
version=5.7.4
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable_tests=false -Duse_sys_capstone=true
|
|
-Duse_sys_magic=true -Duse_sys_xxhash=true
|
|
-Duse_ssl=true -Duse_sys_openssl=true -Duse_libuv=true
|
|
-Duse_sys_zlib=true -Duse_sys_zip=true -Duse_sys_lz4=true"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="capstone-devel file-devel xxHash-devel openssl-devel libuv-devel
|
|
zlib-devel libzip-devel liblz4-devel"
|
|
short_desc="Advanced command line debugger and hexadecimal editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://www.radare.org"
|
|
distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
|
|
checksum=f0b7048dc8958c4faa9feb0ac51dd647c788d743050a52fddb83d3c720ded0c7
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
mips*) CFLAGS="-Os";;
|
|
esac
|
|
|
|
radare2-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|