SUMMARY="Unicode string library" DESCRIPTION="libgrapheme is an extremely simple freestanding C99 library providing \ utilities for properly handling strings according to the Unicode standard." HOMEPAGE="https://libs.suckless.org/libgrapheme" COPYRIGHT="2022 Laslo Hunhold" LICENSE="ISC" REVISION="3" SOURCE_URI="https://dl.suckless.org/libgrapheme/libgrapheme-$portVersion.tar.gz" CHECKSUM_SHA256="a68bbddde76bd55ba5d64116ce5e42a13df045c81c0852de9ab60896aa143125" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersionCompat="$portVersion compat >= ${portVersion%%.*}" PROVIDES=" libgrapheme$secondaryArchSuffix = $portVersion lib:libgrapheme$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libgrapheme${secondaryArchSuffix}_devel = $portVersion devel:libgrapheme$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" libgrapheme$secondaryArchSuffix == $portVersion " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:make " BUILD() { make $jobArgs } INSTALL() { make LIBPREFIX=$libDir INCPREFIX=$includeDir \ MANPREFIX=$manDir LDCONFIG= install # remove static library rm $libDir/libgrapheme.a prepareInstalledDevelLib libgrapheme packageEntries devel \ $developDir \ $manDir } TEST() { make test }