diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2015-03-31 22:57:08 -0700 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-04 21:32:24 +0000 |
commit | b29ab3e9f7b340dcaf0b5a3cc06a38cede431994 (patch) | |
tree | fd924fadaeba4fea22021f97ce36e24d8114c514 /testing/biblesync | |
parent | eaf4c35cd1ef8e2529d5dfec1e5bb3aeb2aa9e70 (diff) | |
download | aports-b29ab3e9f7b340dcaf0b5a3cc06a38cede431994.tar.bz2 aports-b29ab3e9f7b340dcaf0b5a3cc06a38cede431994.tar.xz |
testing/biblesync: new aport
biblesync was the navigation/IPC part of Xiphos, but has now been split
off into a public library.
Diffstat (limited to 'testing/biblesync')
-rw-r--r-- | testing/biblesync/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/biblesync/APKBUILD b/testing/biblesync/APKBUILD new file mode 100644 index 0000000000..1da9d3f537 --- /dev/null +++ b/testing/biblesync/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Isaac Dunham <ibid.ag@gmail.com> +# Maintainer: Isaac Dunham <ibid.ag@gmail.com> +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" |