mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libtasn1: add recipe for version 4.1
This commit is contained in:
72
dev-libs/libtasn1/libtasn1-4.1.recipe
Normal file
72
dev-libs/libtasn1/libtasn1-4.1.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY="A small ASN.1 library"
|
||||
DESCRIPTION="
|
||||
The Libtasn1 library provides Abstract Syntax Notation One \
|
||||
(ASN.1, as specified by the X.680 ITU-T recommendation) parsing and \
|
||||
structures management, and Distinguished Encoding Rules (DER, as per \
|
||||
X.690) encoding and decoding functions.
|
||||
"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtasn1"
|
||||
COPYRIGHT="
|
||||
2002-2014 Free Software Foundation, Inc.
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v3"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/libtasn1/libtasn1-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="60ee6571dcfa00cf55406404912274d6dc759cbaa80d666b89d819feeff5f301"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libtasn1$secondaryArchSuffix = $portVersion compat >= 4
|
||||
lib:libtasn1$secondaryArchSuffix = 6.3.1 compat >= 6
|
||||
cmd:asn1Coding$secondaryArchSuffix
|
||||
cmd:asn1Decoding$secondaryArchSuffix
|
||||
cmd:asn1Parser$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libtasn1
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$manDir/man3
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libtasn1${secondaryArchSuffix}_devel = $portVersion compat >= 4
|
||||
devel:libtasn1$secondaryArchSuffix = 6.3.1 compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtasn1$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user