mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
94 lines
1.8 KiB
Bash
94 lines
1.8 KiB
Bash
SUMMARY="Message Digest functions from BSD systems"
|
|
DESCRIPTION="This library provides message digest functions found on BSD \
|
|
systems either on their libc libraries and lacking on others like GNU systems.
|
|
|
|
The currently provided message digest algorithms are:
|
|
- MD2
|
|
- MD4
|
|
- MD5
|
|
- RIPEMD-160
|
|
- SHA-1
|
|
- SHA-2 (SHA-256, SHA-384 and SHA-512)
|
|
"
|
|
HOMEPAGE="https://www.hadrons.org/software/libmd/"
|
|
COPYRIGHT="2009, 2011, 2016 Guillem Jover
|
|
2000-2001 Aaron D. Gifford
|
|
2001 Markus Friedl
|
|
2001 The NetBSD Foundation
|
|
1997, 2003, 2004 Todd C. Miller
|
|
Poul-Henning Kamp
|
|
Colin Plumb
|
|
Steve Reid
|
|
"
|
|
LICENSE="BSD (3-clause)
|
|
BSD (2-clause)
|
|
ISC
|
|
Public Domain"
|
|
REVISION="2"
|
|
SOURCE_URI="https://libbsd.freedesktop.org/releases/libmd-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="fd3f2366236fb3fd0dac0c0a77ffff8511e2939c79d1d58daf56e3f5ee383a88"
|
|
PATCHES="libmd-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
libmd$secondaryArchSuffix = $portVersion
|
|
lib:libmd$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmd${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmd$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libmd$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/libmd.la
|
|
|
|
prepareInstalledDevelLib libmd
|
|
fixPkgconfig
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|