mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
31 lines
754 B
Bash
31 lines
754 B
Bash
DESCRIPTION="Google's C++ logging library"
|
|
HOMEPAGE="http://code.google.com/p/google-glog/"
|
|
SOURCE_URI="http://google-glog.googlecode.com/files/glog-0.3.3.tar.gz"
|
|
CHECKSUM_MD5="a6fd2c22f8996846e34c763422717c18"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
|
|
|
BUILD()
|
|
{
|
|
cd glog-0.3.3
|
|
sed -i 's/docdir = $(prefix)\/share/docdir = \/boot\/common\/documentation/g' Makefile.am
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc
|
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
--docdir=${DOCDIR}
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd glog-0.3.3
|
|
make install
|
|
}
|
|
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="1999-2013 Google Inc."
|