SUMMARY="A fairly comprehensive, modular and portable cryptographic toolkit" DESCRIPTION="LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit \ that provides developers with a vast array of well known published block ciphers, one-way hash \ functions, chaining modes, pseudo-random number generators, public key cryptography and a \ plethora of other routines. " HOMEPAGE="https://www.libtom.net/LibTomCrypt/" COPYRIGHT="2012 Samual Neves 2008 Cryptico A/S" LICENSE="Public Domain WTFPL v2" REVISION="1" SOURCE_URI="https://github.com/libtom/libtomcrypt/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="d870fad1e31cb787c85161a8894abb9d7283c2a654a9d3d4c6d45a1eba59952c" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="1.0.1" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" libtomcrypt$secondaryArchSuffix = $portVersion lib:libtomcrypt$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libtomcrypt${secondaryArchSuffix}_devel = $portVersion devel:libtomcrypt$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" libtomcrypt$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:cc$secondaryArchSuffix cmd:libtool$secondaryArchSuffix cmd:make " BUILD() { true } INSTALL() { export LIBPATH=$libDir export INCPATH=$includeDir make -f makefile.shared IGNORE_SPEED=1 install rm $libDir/libtomcrypt.{a,la} prepareInstalledDevelLibs libtomcrypt fixPkgconfig packageEntries devel $developDir } TEST() { make $jobArgs -f makefile.shared IGNORE_SPEED=1 test ./test }