mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Glog: fixpkgconfig, debuginfo, cleanup (#2313)
This commit is contained in:
@@ -3,17 +3,20 @@ DESCRIPTION="Google's C++ logging library"
|
||||
HOMEPAGE="https://github.com/google/glog/"
|
||||
COPYRIGHT="1999-2017 Google Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/google/glog/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
PATCHES="glog-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion=0.0.0
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
glog$secondaryArchSuffix = $portVersion
|
||||
lib:libglog$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libglog$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -21,7 +24,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
glog${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libglog$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libglog$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
glog$secondaryArchSuffix == $portVersion base
|
||||
@@ -31,14 +34,17 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage glog$secondaryArchSuffix \
|
||||
$libDir/libglog.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
@@ -54,6 +60,8 @@ INSTALL()
|
||||
|
||||
prepareInstalledDevelLib libglog
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user