From f6f0c7b7d2dfcf940bf4f5847672f1d34fb1d97f Mon Sep 17 00:00:00 2001 From: John Regan Date: Tue, 25 Aug 2015 16:32:47 -0400 Subject: [PATCH] New package: glog (c++ logging library) --- common/shlibs | 1 + srcpkgs/glog-devel | 1 + srcpkgs/glog-docs | 1 + srcpkgs/glog/template | 30 ++++++++++++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 120000 srcpkgs/glog-devel create mode 120000 srcpkgs/glog-docs create mode 100644 srcpkgs/glog/template diff --git a/common/shlibs b/common/shlibs index bc8331a9523..d699c3a583f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2141,3 +2141,4 @@ libtermkey.so.1 libtermkey-0.17_1 libicu4lua.so.0 icu4lua-0.2B_1 libqtelegram-ae.so.1 libqtelegram-ae-5.0_1 libtelegramqml.so.1 TelegramQML-0.8.0_1 +libglog.so.0 glog-0.3.4_1 diff --git a/srcpkgs/glog-devel b/srcpkgs/glog-devel new file mode 120000 index 00000000000..b3051bde1a4 --- /dev/null +++ b/srcpkgs/glog-devel @@ -0,0 +1 @@ +glog \ No newline at end of file diff --git a/srcpkgs/glog-docs b/srcpkgs/glog-docs new file mode 120000 index 00000000000..b3051bde1a4 --- /dev/null +++ b/srcpkgs/glog-docs @@ -0,0 +1 @@ +glog \ No newline at end of file diff --git a/srcpkgs/glog/template b/srcpkgs/glog/template new file mode 100644 index 00000000000..e750bad7fbe --- /dev/null +++ b/srcpkgs/glog/template @@ -0,0 +1,30 @@ +# Template build file for 'glog' +pkgname=glog +version=0.3.4 +revision=1 +build_style=gnu-configure +short_desc="Logging library for C++" +maintainer="John Regan " +license="3-clause-BSD" +homepage="https://github.com/google/glog" +distfiles="$homepage/archive/v${version}.tar.gz" +checksum="ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10" + +glog-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +} + +glog-docs_package() { + short_desc+=" - documentation" + noarch="yes" + pkg_install() { + vmove "usr/share/doc/glog-${version}" + } +}