capstone: update to 4.0.1

This commit is contained in:
Nathan Owens 2019-01-14 20:57:27 -06:00 committed by maxice8
parent 026cf3b073
commit 8299b62397
2 changed files with 3 additions and 39 deletions

View file

@ -1,36 +0,0 @@
--- Makefile 2018-12-18 17:31:46.000000000 +0100
+++ Makefile 2019-01-05 02:15:19.102526211 +0100
@@ -402,23 +402,23 @@
endif
install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY)
- mkdir -p $(DESTDIR)$(LIBDIR)
- $(call install-library,$(DESTDIR)$(LIBDIR))
+ mkdir -p $(LIBDIR)
+ $(call install-library,$(LIBDIR))
ifeq ($(CAPSTONE_STATIC),yes)
- $(INSTALL_DATA) $(ARCHIVE) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_DATA) $(ARCHIVE) $(LIBDIR)
endif
mkdir -p $(DESTDIR)$(INCDIR)/$(LIBNAME)
$(INSTALL_DATA) include/capstone/*.h $(DESTDIR)$(INCDIR)/$(LIBNAME)
- mkdir -p $(DESTDIR)$(PKGCFGDIR)
- $(INSTALL_DATA) $(PKGCFGF) $(DESTDIR)$(PKGCFGDIR)
- mkdir -p $(DESTDIR)$(BINDIR)
- $(INSTALL_LIB) cstool/cstool $(DESTDIR)$(BINDIR)
+ mkdir -p $(PKGCFGDIR)
+ $(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR)
+ mkdir -p $(BINDIR)
+ $(INSTALL_LIB) cstool/cstool $(BINDIR)
uninstall:
rm -rf $(DESTDIR)$(INCDIR)/$(LIBNAME)
- rm -f $(DESTDIR)$(LIBDIR)/lib$(LIBNAME).*
- rm -f $(DESTDIR)$(PKGCFGDIR)/$(LIBNAME).pc
- rm -f $(DESTDIR)$(BINDIR)/cstool
+ rm -f $(LIBDIR)/lib$(LIBNAME).*
+ rm -f $(PKGCFGDIR)/$(LIBNAME).pc
+ rm -f $(BINDIR)/cstool
clean:
rm -f $(LIBOBJ)

View file

@ -1,6 +1,6 @@
# Template file for 'capstone'
pkgname=capstone
version=4.0
version=4.0.1
revision=1
build_style=gnu-makefile
make_use_env=1
@ -8,9 +8,9 @@ hostmakedepends="python-setuptools python3-setuptools"
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://www.capstone-engine.org/"
homepage="https://www.capstone-engine.org/"
distfiles="https://github.com/aquynh/${pkgname}/archive/${version}.tar.gz"
checksum=26c6461618670d59215635602ef5fb6f90bf6724006983af88e4983d6af1e67a
checksum=79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install