mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(capstone)
This commit is contained in:
parent
66bb99f5ee
commit
9ea2420de6
|
@ -3,7 +3,7 @@ distributable:
|
|||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: capstone-engine/capstone/releases/tags
|
||||
github: capstone-engine/capstone/releases/tags
|
||||
strip: /^v/
|
||||
|
||||
provides:
|
||||
|
@ -17,6 +17,15 @@ build:
|
|||
./make.sh
|
||||
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:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
|
|
Loading…
Reference in a new issue