diff --git a/srcpkgs/capstone/template b/srcpkgs/capstone/template index 5ae12ae8d4..d357ba75e2 100644 --- a/srcpkgs/capstone/template +++ b/srcpkgs/capstone/template @@ -1,8 +1,7 @@ # Template file for 'capstone' pkgname=capstone version=3.0.3 -revision=1 -build_style=gnu-makefile +revision=2 short_desc="Lightweight multi-platform, multi-architecture disassembly framework" maintainer="Juan RP " license="2-clause-BSD" @@ -10,7 +9,11 @@ homepage="http://www.capstone-engine.org/" distfiles="http://www.capstone-engine.org/download/${version}/${pkgname}-${version}.tgz" checksum=fc2741e7bc5fb23e2f960a54da3fe9858cf01ff45a1cf9bacb88a5870d0dec6e -post_install() { +do_build() { + make V=1 CC=$CC ${makejobs} +} +do_install() { + make PREFIX=/usr DESTDIR=${DESTDIR} install vlicense LICENSE.TXT LICENSE }