mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
OpenPAM: new recipe (#1226)
This commit is contained in:
70
sys-auth/openpam/openpam-20170219.recipe
Normal file
70
sys-auth/openpam/openpam-20170219.recipe
Normal file
@@ -0,0 +1,70 @@
|
||||
SUMMARY="An open source PAM library"
|
||||
DESCRIPTION="OpenPAM is a Pluggable Authentication Modules implementation."
|
||||
HOMEPAGE="http://www.openpam.org/"
|
||||
COPYRIGHT="2002-2003 Networks Associates Technology, Inc.
|
||||
2004-2017 Dag-Erling Smørgrav"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sf.net/openpam/openpam-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ae8af472bd33c9631a34de56636d30734fc16ce23190d0a991fa15501c090d53"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
openpam$secondaryArchSuffix = $portVersion
|
||||
lib:libpam$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
openpam${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libpam$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
openpam$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
for f in libpam.la pam_deny.la pam_permit.la pam_return.la; do
|
||||
rm $libDir/$f
|
||||
done
|
||||
|
||||
prepareInstalledDevelLib libpam
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf $manDir
|
||||
fi
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user