mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libasr: add recipe for version 1.0.2
This commit is contained in:
79
net-libs/libasr/libasr-1.0.2.recipe
Normal file
79
net-libs/libasr/libasr-1.0.2.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="Async Resolver Implementation from OpenBSD/OpenSMTPD"
|
||||
DESCRIPTION="libasr is a free, simple and portable asynchronous resolver \
|
||||
library. \
|
||||
It allows to run dns queries and perform hostname resolutions in a fully \
|
||||
asynchronous fashion. The implementation is thread-less, fork-less, and \
|
||||
does not make use of signals or other \"tricks\" that might get in the \
|
||||
developer's way. The API was initially developped for the OpenBSD \
|
||||
operating system, where it is natively supported."
|
||||
HOMEPAGE="https://github.com/OpenSMTPD/libasr/"
|
||||
COPYRIGHT="2001 Jakob Schlyter
|
||||
Internet Software Consortium
|
||||
David Mazieres
|
||||
Damien Miller
|
||||
Markus Friedl
|
||||
Todd C. Miller
|
||||
Henning Brauer
|
||||
Pierre-Yves Ritschard
|
||||
Reyk Floeter
|
||||
Theo de Raadt
|
||||
Ted Unangst
|
||||
Charles Longeau
|
||||
The Regents of the University of California
|
||||
Ian F. Darwin
|
||||
Damien Miller
|
||||
Eric P. Allman"
|
||||
# wanted to add ISC, but the package creation failed although the license
|
||||
# file is available in /system/data/licenses/
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/OpenSMTPD/libasr/archive/libasr-$portVersion.tar.gz"
|
||||
SOURCE_DIR="libasr-libasr-$portVersion"
|
||||
CHECKSUM_SHA256="4ab54264206e255fd6c2de982764bb5ce7857ec8f649ad3ee45771244593b6e1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libasr$secondaryArchSuffix = $portVersion
|
||||
lib:libasr$secondaryArchSuffix = 0.0.2 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libasr${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libasr$secondaryArchSuffix = 0.0.2 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libasr$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libssl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libtoolize
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch README NEWS AUTHORS
|
||||
autoreconf -fi
|
||||
runConfigure ./configure CFLAGS="-D_BSD_SOURCE"
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libasr
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user