slunkcrypt, add devel package (#6861)

This commit is contained in:
Schrijvers Luc
2022-04-29 12:37:33 +02:00
committed by GitHub
parent 3b9f20e13a
commit a554f0732d

View File

@@ -12,7 +12,7 @@ cryptography laws in many countries."
HOMEPAGE="https://gitlab.com/lord_mulder/slunkcrypt"
COPYRIGHT="2021-2022 LoRd MuldeR"
LICENSE="CC0 1.0 Universal"
REVISION="1"
REVISION="2"
gitLabDir="da63740f538e552708ae712bcc157142"
SLUNKCRYPT_VERSION=`echo $portVersion | sed 's/\_/-/g'`
SOURCE_URI="$HOMEPAGE/uploads/$gitLabDir/slunkcrypt.$SLUNKCRYPT_VERSION.source.tar.gz"
@@ -26,12 +26,18 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES="
slunkcrypt$secondaryArchSuffix = $portVersion
cmd:slunkcrypt = $portVersion
devel:libslunkcrypt_1$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
slunkcrypt${secondaryArchSuffix}_devel
devel:libslunkcrypt_1$secondaryArchSuffix
"
REQUIRES_devel="
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
@@ -50,4 +56,7 @@ INSTALL()
mkdir -p $prefix/bin $developLibDir
cp frontend/bin/slunkcrypt $prefix/bin
cp libslunkcrypt/lib/libslunkcrypt-1.a $developLibDir
packageEntries devel \
$developLibDir
}