fix(capstone)

This commit is contained in:
Jacob Heider 2023-05-09 16:53:50 -04:00 committed by Jacob Heider
parent 66bb99f5ee
commit 9ea2420de6

View file

@ -3,7 +3,7 @@ distributable:
strip-components: 1 strip-components: 1
versions: versions:
github: capstone-engine/capstone/releases/tags github: capstone-engine/capstone/releases/tags
strip: /^v/ strip: /^v/
provides: provides:
@ -17,6 +17,15 @@ build:
./make.sh ./make.sh
make install PREFIX={{ prefix }} make install PREFIX={{ prefix }}
cd "{{prefix}}/include"
mv capstone/* .
rmdir capstone
ln -s . capstone
cd ../lib/pkgconfig
sed -i.bak -e 's_^includedir=.*$_includedir=${libdir}/../include_' capstone.pc
rm capstone.pc.bak
test: test:
dependencies: dependencies:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99