SUMMARY="A library for encoding/decoding base58" DESCRIPTION="libbase58 provides encoding and decoding for the base58 format, \ used in Bitcoin addresses." HOMEPAGE="https://github.com/bitcoin/libbase58" COPYRIGHT="2014-2017 Luke Dashjr" LICENSE="MIT" REVISION="2" SOURCE_URI="https://github.com/bitcoin/libbase58/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="97e8c3387fd4ed90208a8101e658743efbb6e21714e594f0828e6414f92c0b1d" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="0.0.2" libVersionCompat="$libVersion compat >= 0" PROVIDES=" libbase58$secondaryArchSuffix = $portVersion lib:libbase58$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libbase58${secondaryArchSuffix}_devel = $portVersion devel:libbase58$secondaryArchSuffix = $libVersion " REQUIRES_devel=" libbase58$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoreconf cmd:gcc$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make " defineDebugInfoPackage libbase58$secondaryArchSuffix \ $libDir/libbase58.so.$libVersion BUILD() { ./autogen.sh runConfigure ./configure --disable-static make $jobArgs } INSTALL() { make install rm -f $libDir/libbase58.la prepareInstalledDevelLib libbase58 fixPkgconfig packageEntries devel \ $developDir } TEST() { # Test suite is present but currently has no tests. make check }