From ec4d316e63d0a50ac1828eb83e6250fa79e37b9b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 16 Dec 2011 17:06:51 +0100 Subject: [PATCH] New package: radare2-0.9. --- srcpkgs/radare2-devel | 1 + srcpkgs/radare2/radare2-devel.template | 14 ++++++++++++++ srcpkgs/radare2/radare2.rshlibs | 7 +++++++ srcpkgs/radare2/template | 23 +++++++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 120000 srcpkgs/radare2-devel create mode 100644 srcpkgs/radare2/radare2-devel.template create mode 100644 srcpkgs/radare2/radare2.rshlibs create mode 100644 srcpkgs/radare2/template diff --git a/srcpkgs/radare2-devel b/srcpkgs/radare2-devel new file mode 120000 index 00000000000..fef4c7d8311 --- /dev/null +++ b/srcpkgs/radare2-devel @@ -0,0 +1 @@ +radare2 \ No newline at end of file diff --git a/srcpkgs/radare2/radare2-devel.template b/srcpkgs/radare2/radare2-devel.template new file mode 100644 index 00000000000..4490614c32c --- /dev/null +++ b/srcpkgs/radare2/radare2-devel.template @@ -0,0 +1,14 @@ +# Template file for 'radare2-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run radare2 + +do_install() { + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/radare2/radare2.rshlibs b/srcpkgs/radare2/radare2.rshlibs new file mode 100644 index 00000000000..73748c20dbb --- /dev/null +++ b/srcpkgs/radare2/radare2.rshlibs @@ -0,0 +1,7 @@ +libgmp.so.10 +libc.so.6 +libdl.so.2 +libm.so.6 +libmagic.so.1 +libssl.so.1 +libpthread.so.0 diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template new file mode 100644 index 00000000000..b7bedeedc9b --- /dev/null +++ b/srcpkgs/radare2/template @@ -0,0 +1,23 @@ +# Template file for 'radare2' +pkgname=radare2 +version=0.9 +homepage="http://radare.org" +distfiles="$homepage/get/$pkgname-$version.tar.gz" +build_style=gnu-configure +configure_args="--without-ewf --with-sysmagic" +short_desc="Advanced command line debugger and hexadecimal editor" +maintainer="Juan RP " +license="LGPL-3" +checksum=e12feea3b776601d7b680e64250897110cf4fca2f1214b4c527e13b7abe900e0 +long_desc=" + It is composed by an hexadecimal editor (radare) with a wrapped IO layer + supporting multiple backends for local/remote files, accessing filesystems, + debugger (osx,bsd,linux,w32), stream analyzer, assembler/disassembler + (rasm) for x86,arm,ppc,m68k,java,msil,sparc, etc." + +broken_as_needed=yes +subpackages="$pkgname-devel" + +Add_dependency build file-devel +Add_dependency build lua-devel +Add_dependency build openssl-devel