diff options
-rw-r--r-- | devel/capstone/DESCR | 7 | ||||
-rw-r--r-- | devel/capstone/Makefile | 19 | ||||
-rw-r--r-- | devel/capstone/PLIST | 15 | ||||
-rw-r--r-- | devel/capstone/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/capstone/distinfo | 5 |
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/capstone/DESCR b/devel/capstone/DESCR new file mode 100644 index 00000000000..38b2223fd68 --- /dev/null +++ b/devel/capstone/DESCR @@ -0,0 +1,7 @@ +Capstone is a disassembly framework with the target of becoming +the ultimate disasm engine for binary analysis and reversing in +the security community. + +Capstone supports multiple hardware architectures, including ARM, +ARM64 (ARMv8), Mips, PPC, Sparc, SystemZ, XCore and X86 (including +X86_64). diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile new file mode 100644 index 00000000000..31abd3d18f9 --- /dev/null +++ b/devel/capstone/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2014/12/05 11:51:58 wiz Exp $ + +DISTNAME= capstone-3.0 +CATEGORIES= devel +MASTER_SITES= http://www.capstone-engine.org/download/${PKGVERSION}/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.capstone-engine.org/ +COMMENT= Lightweight multi-platform, multi-architecture disassembly framework +LICENSE= modified-bsd + +PKGCONFIG_OVERRIDE+= capstone.pc +PKGCONFIG_OVERRIDE_STAGE= post-build +USE_TOOLS+= gmake +# succeeds after 'make install' +TEST_TARGET= check + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/capstone/PLIST b/devel/capstone/PLIST new file mode 100644 index 00000000000..45f8776df02 --- /dev/null +++ b/devel/capstone/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2014/12/05 11:51:58 wiz Exp $ +include/capstone/arm.h +include/capstone/arm64.h +include/capstone/capstone.h +include/capstone/mips.h +include/capstone/platform.h +include/capstone/ppc.h +include/capstone/sparc.h +include/capstone/systemz.h +include/capstone/x86.h +include/capstone/xcore.h +lib/libcapstone.a +lib/libcapstone.so +lib/libcapstone.so.3 +lib/pkgconfig/capstone.pc diff --git a/devel/capstone/buildlink3.mk b/devel/capstone/buildlink3.mk new file mode 100644 index 00000000000..b33fd9d1da8 --- /dev/null +++ b/devel/capstone/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/12/05 11:51:58 wiz Exp $ + +BUILDLINK_TREE+= capstone + +.if !defined(CAPSTONE_BUILDLINK3_MK) +CAPSTONE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.capstone+= capstone>=3.0 +BUILDLINK_PKGSRCDIR.capstone?= ../../devel/capstone +.endif # CAPSTONE_BUILDLINK3_MK + +BUILDLINK_TREE+= -capstone diff --git a/devel/capstone/distinfo b/devel/capstone/distinfo new file mode 100644 index 00000000000..10d2bcf4233 --- /dev/null +++ b/devel/capstone/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/12/05 11:51:58 wiz Exp $ + +SHA1 (capstone-3.0.tgz) = 26e591b8323ed3f6e92637d7ee953cb505687efa +RMD160 (capstone-3.0.tgz) = 351ee783d2d18679d3db23e4b5e2ebe2b4d15f12 +Size (capstone-3.0.tgz) = 2757288 bytes |