blob: 6203cff23121e5e5e9c5b066a911ee785dda5ce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# 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 gettext-dev linux-headers"
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_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"
|