mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libtasn1: bump to 4.10, drop unneeded "autoreconf -fi"
* Remove documentation when building for secondary architectures. * Switch SOURCE_URI to https. * Add TEST() with "make check". Results: PASS = TOTAL = 24 ;-) * Reorder sections.
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
SUMMARY="A small ASN.1 library"
|
||||
DESCRIPTION="
|
||||
The Libtasn1 library provides Abstract Syntax Notation One \
|
||||
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.
|
||||
"
|
||||
X.690) encoding and decoding functions."
|
||||
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
|
||||
COPYRIGHT="2002-2017 Free Software Foundation, Inc."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v3"
|
||||
SOURCE_URI="http://ftp.gnu.org/gnu/libtasn1/libtasn1-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920"
|
||||
REVISION="2"
|
||||
GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://ftp.gnu.org/gnu/libtasn1/libtasn1-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libtasn1$secondaryArchSuffix = $portVersion compat >= 4
|
||||
lib:libtasn1$secondaryArchSuffix = 6.5.2 compat >= 6
|
||||
lib:libtasn1$secondaryArchSuffix = 6.5.3 compat >= 6
|
||||
cmd:asn1Coding$secondaryArchSuffix
|
||||
cmd:asn1Decoding$secondaryArchSuffix
|
||||
cmd:asn1Parser$secondaryArchSuffix
|
||||
@@ -27,6 +24,15 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libtasn1${secondaryArchSuffix}_devel = $portVersion compat >= 4
|
||||
devel:libtasn1$secondaryArchSuffix = 6.5.3 compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtasn1$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -44,7 +50,6 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --disable-gcc-warnings
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -58,18 +63,20 @@ INSTALL()
|
||||
prepareInstalledDevelLibs libtasn1
|
||||
fixPkgconfig
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
maybe_manDir_man3=
|
||||
rm -rf $documentationDir
|
||||
else
|
||||
maybe_manDir_man3=$manDir/man3
|
||||
fi
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$manDir/man3
|
||||
$maybe_manDir_man3
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libtasn1${secondaryArchSuffix}_devel = $portVersion compat >= 4
|
||||
devel:libtasn1$secondaryArchSuffix = 6.5.2 compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtasn1$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user