From f70364e9b22f58e2548143b5c67ca671f1dfbb0d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Dec 2014 20:06:01 +0100 Subject: [PATCH] New package: capstone-3.0. --- common/shlibs | 1 + srcpkgs/capstone-devel | 1 + srcpkgs/capstone/template | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 120000 srcpkgs/capstone-devel create mode 100644 srcpkgs/capstone/template diff --git a/common/shlibs b/common/shlibs index ec09d824b9..ae11a36437 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1831,3 +1831,4 @@ libopenjpeg.so.5 libopenjpeg-1.5.2_1 liboping.so.0 liboping-1.8.0_1 libgksu2.so.0 libgksu-2.0.12_1 libloudmouth-1.so.0 loudmouth-1.4.3_1 +libcapstone.so.3 capstone-3.0_1 diff --git a/srcpkgs/capstone-devel b/srcpkgs/capstone-devel new file mode 120000 index 0000000000..d9b9ebd615 --- /dev/null +++ b/srcpkgs/capstone-devel @@ -0,0 +1 @@ +capstone \ No newline at end of file diff --git a/srcpkgs/capstone/template b/srcpkgs/capstone/template new file mode 100644 index 0000000000..3b23277d56 --- /dev/null +++ b/srcpkgs/capstone/template @@ -0,0 +1,22 @@ +# Template file for 'capstone' +pkgname=capstone +version=3.0 +revision=1 +build_style=gnu-makefile +short_desc="Lightweight multi-platform, multi-architecture disassembly framework" +maintainer="Juan RP " +license="2-clause-BSD" +homepage="http://www.capstone-engine.org/" +distfiles="http://www.capstone-engine.org/download/${version}/${pkgname}-${version}.tgz" +checksum=1deacc204f1b0b9df01b543cb1735bf8e857bc0783e6e4749c3760c62e0e7bf0 + +capstone-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}