X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 29239DC00B7 for ; Wed, 1 Apr 2015 05:53:39 +0000 (UTC) Received: by pdmh5 with SMTP id h5so31764019pdm.3 for ; Tue, 31 Mar 2015 22:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=3jZd7cQqe3g3GxIbGoqbzB+e77UrPwS6m/5VxmOTJuw=; b=FjdgPat1fhEViYUo5MMXOod8dRyxlPayzQdFUxbEFcELVB8JQ4Dlp/ioDITe3WRk8Z qaODoInTVjPIgpeD5EAQ3XBNScuUQZbW6WLppVfMb/Z2yVx5KB9EWLT5AGDe0dYjOZ+z eg/JR5K3KAznFVzQw17A5UaH5L1wKrBw7o14S39KUPD38a1IZrJN03mOdTMUwsK23VTs UBw0L1MplZ4FGUEEDZi8YUOfUiRV7l/hWjfVe0Bjf4d8G0RTPn3gO9sRM0h19i78w2iH J+lnOsRxR7+/LjlzytQ9DPDxid+xLE37bhZ0Ie36MLpRakg3LK2v/nvcnebLQQw9tX6A 1BTg== X-Received: by 10.66.119.136 with SMTP id ku8mr14771005pab.29.1427867618534; Tue, 31 Mar 2015 22:53:38 -0700 (PDT) Received: from localhost.localdomain ([50.0.225.244]) by mx.google.com with ESMTPSA id bz11sm789890pdb.34.2015.03.31.22.53.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Mar 2015 22:53:37 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH 1/2] testing/biblesync: new aport Date: Tue, 31 Mar 2015 22:53:33 -0700 Message-Id: <1427867614-7777-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.3.4 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: biblesync was the navigation/IPC part of Xiphos, but has now been split off into a public library. --- testing/biblesync/APKBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testing/biblesync/APKBUILD diff --git a/testing/biblesync/APKBUILD b/testing/biblesync/APKBUILD new file mode 100644 index 0000000..1da9d3f --- /dev/null +++ b/testing/biblesync/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Isaac Dunham +# Maintainer: Isaac Dunham +pkgname=biblesync +pkgver=1.1.2 +pkgrel=0 +pkgdesc="Library for multicasting Bible navigation used by Xiphos" +url="sf.net/p/gnomesword" +arch="all" +license="Public domain" +depends="" +depends_dev="util-linux-dev" +makedepends="cmake $depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/project/gnomesword/BibleSync/$pkgver/biblesync-$pkgver.tar.gz" + +_builddir="$srcdir"/biblesync-$pkgver +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 "$_builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_COMPILER="${CXX:-g++}" \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + || return 1 +# --build=$CBUILD +# --host=$CHOST + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="25bc063de3da2fc087954c746714f735 biblesync-1.1.2.tar.gz" +sha256sums="886e1ac165b8900254c00a182fa34e3680ef3aa25051418470f15ea09ac02005 biblesync-1.1.2.tar.gz" +sha512sums="7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62 biblesync-1.1.2.tar.gz" -- 2.3.4 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---