1 include $(TOPDIR
)/rules.mk
6 PKG_SOURCE_URL
:=https
://github.com
/google
/glog.git
7 PKG_SOURCE_VERSION
:=v0.3
.5
8 PKG_MIRROR_HASH
:=4677fba927e2d9cdcbc518c34c88465260d506d88072ea16217a8171310b9a1c
13 PKG_LICENSE_FILE
:=COPYING
15 include $(INCLUDE_DIR
)/package.mk
20 TITLE
:=C
++ implementation of the Google logging module
21 DEPENDS
:= +libstdcpp
+libpthread
22 URL
:=https
://github.com
/google
/glog
23 MAINTAINER
:=Amir Sabbaghi
<amir@pichak.
co>
26 define Package
/glog
/description
27 This repository contains a C
++ implementation of the Google logging
28 module. Documentation for the implementation is in doc
/.
31 TARGET_CXXFLAGS
+=-std
=c
++11
32 TARGET_LDFLAGS
+=-lpthread
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,)
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/include/glog
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/glog
/*.h
$(1)/usr
/include/glog
41 $(INSTALL_DIR
) $(1)/usr
/lib
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libglog.
{a
,so
*} $(1)/usr
/lib
43 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libglog.
pc $(1)/usr
/lib
/pkgconfig
/
47 define Package
/glog
/install
48 $(INSTALL_DIR
) $(1)/usr
/lib
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libglog.so.
* $(1)/usr
/lib
/
52 $(eval
$(call BuildPackage
,glog
))