crypto++: remove libcrypopp.so.5.

the lib doesn't provide a SONAME.
This commit is contained in:
Jerome Duval
2017-04-28 23:49:03 +02:00
parent 89fb1051c5
commit 6fff90be5f

View File

@@ -17,7 +17,7 @@ The library contains the following algorithms:
HOMEPAGE="https://cryptopp.com"
COPYRIGHT="2015-2017 Wei Dai"
LICENSE="Boost v1.0"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.cryptopp.com/cryptopp565.zip"
CHECKSUM_SHA256="a75ef486fe3128008bbb201efee3dcdcffbe791120952910883b26337ec32c34"
SOURCE_DIR=""
@@ -26,8 +26,8 @@ ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
crypto++$secondaryArchSuffix = $portVersion compat >= 5
lib:libcryptopp$secondaryArchSuffix = $portVersion compat >= 5
crypto++$secondaryArchSuffix = $portVersion
lib:libcryptopp$secondaryArchSuffix = $portVersion compat >= $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -35,7 +35,7 @@ REQUIRES="
PROVIDES_devel="
crypto++${secondaryArchSuffix}_devel = $portVersion
devel:libcryptopp$secondaryArchSuffix = $portVersion compat >= 5
devel:libcryptopp$secondaryArchSuffix = $portVersion compat >= $portVersion
"
REQUIRES_devel="
crypto++$secondaryArchSuffix == $portVersion base
@@ -62,8 +62,7 @@ INSTALL()
make install PREFIX=$prefix INCLUDEDIR=$includeDir
mv $libDir/libcryptopp.so $libDir/libcryptopp.so.$portVersion
ln -s $libDir/libcryptopp.so.$portVersion $libDir/libcryptopp.so.5
ln -s $libDir/libcryptopp.so.5 $libDir/libcryptopp.so
ln -s $libDir/libcryptopp.so.$portVersion $libDir/libcryptopp.so
prepareInstalledDevelLib libcryptopp