X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 8396DDC5961 for ; Tue, 1 Sep 2015 19:32:43 +0000 (UTC) Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 66F06DC029C for ; Tue, 1 Sep 2015 19:32:42 +0000 (UTC) Received: from yoda.quacks.org ([108.55.20.46]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0NU00074PJM2MX00@vms173021.mailsrvcs.net> for alpine-aports@lists.alpinelinux.org; Tue, 01 Sep 2015 14:32:27 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=sGNvXiLwxArJLVFHJOKkqA==:117 a=pGLkceISAAAA:8 a=qsQT_A_lAAAA:8 a=oR5dmqMzAAAA:8 a=ff-B7xzCdYMA:10 a=NEAV23lmAAAA:8 a=3SUX5c8C0QVhFpv2D-QA:9 Received: from localhost.localdomain ([86.57.255.92]) (authenticated bits=0) by yoda.quacks.org (8.14.9/8.14.9) with ESMTP id t81JWV8s003549 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NO); Tue, 1 Sep 2015 15:32:41 -0400 From: Michael Venezia To: alpine-aports@lists.alpinelinux.org Cc: Michael Venezia Subject: [alpine-aports] [PATCH] Adding Googles Logging Library Date: Tue, 01 Sep 2015 19:32:09 +0000 Message-id: <1441135929-24200-1-git-send-email-mvenezia@gmail.com> X-Mailer: git-send-email 2.4.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/google-glog/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 main/google-glog/APKBUILD diff --git a/main/google-glog/APKBUILD b/main/google-glog/APKBUILD new file mode 100644 index 0000000..4d77107 --- /dev/null +++ b/main/google-glog/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Michael Venezia +# Maintainer: Michael Venezia +pkgname=google-glog +pkgver=0.3.4 +pkgrel=0 +pkgdesc="Logging library for C++" +url="https://github.com/google/glog" +arch="x86_64" +license="custom:BSD3" +depends="" +depends_dev="make gcc" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz" + +_builddir= +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$srcdir/glog-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + cd "$srcdir/glog-${pkgver}" + make DESTDIR="$pkgdir" install + + find "$pkgdir" -name '*.la' -delete +} + +md5sums="df92e05c9d02504fb96674bc776a41cb glog-0.3.4.tar.gz" +sha256sums="ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10 glog-0.3.4.tar.gz" +sha512sums="139525b546a9eccacc9bebf7cc3053ba52229e9488485ad45344c3d3134ca819d3b571250c0e3a6d84097009c8be89b0f4fa16ef5ec838ffcc237ae11c3a034c glog-0.3.4.tar.gz" -- 2.4.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---