mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 06:10:06 +02:00
60 lines
1.2 KiB
Bash
60 lines
1.2 KiB
Bash
SUMMARY="A C++ logging library"
|
|
DESCRIPTION="Google's C++ logging library"
|
|
HOMEPAGE="https://github.com/google/glog/"
|
|
COPYRIGHT="1999-2017 Google Inc."
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
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"
|
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
glog$secondaryArchSuffix = $portVersion
|
|
lib:libglog$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
glog${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libglog$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
glog$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libglog.la
|
|
|
|
prepareInstalledDevelLib libglog
|
|
|
|
# devel package
|
|
packageEntries devel $developDir
|
|
}
|