33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'radare2'
|
|
pkgname=radare2
|
|
version=5.8.8
|
|
revision=2
|
|
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="yosh <yosh-git@riseup.net>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://www.radare.org"
|
|
distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
|
|
checksum=4f88c33e4391f492c7d0073df9bffcc666cc1e2ca0a95d6e1035decdaa227b26
|
|
|
|
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"
|
|
}
|
|
}
|