mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add recipe for udis86.
All tests passing.
This commit is contained in:
55
dev-libs/udis86/udis86-1.7.2.recipe
Normal file
55
dev-libs/udis86/udis86-1.7.2.recipe
Normal file
@@ -0,0 +1,55 @@
|
||||
SUMMARY="Disassembler Library for x86 and x86-64"
|
||||
DESCRIPTION="Udis86 is an easy-to-use, minimalistic disassembler library \
|
||||
(libudis86) for the x86 class of instruction set architectures. It has a \
|
||||
convenient interface for use in the analysis and instrumentation of binary code.
|
||||
"
|
||||
HOMEPAGE="http://udis86.sourceforge.net/"
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="2002-2012, Vivek Thampi"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
SRC_URI="https://github.com/vmt/udis86/archive/v1.7.2.tar.gz"
|
||||
CHECKSUM_SHA256="43567f7e12168943c5b5ffb3d3f5b7a33cb36328f8938a993458f3ded0ba5779"
|
||||
|
||||
PROVIDES="
|
||||
udis86 = $portVersion
|
||||
cmd:udcli
|
||||
devel:libudis86
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:python
|
||||
cmd:sh
|
||||
cmd:yasm
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
sh autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libudis86
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user