mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=csync2
|
|
pkgver=1.34
|
|
pkgrel=0
|
|
pkgdesc="a cluster synchronization tool"
|
|
url="http://oss.linbit.com/csync2/"
|
|
arch="all"
|
|
license="GPL-2+"
|
|
depends=
|
|
makedepends="librsync-dev gnutls-dev sqlite-dev autoconf automake bison flex"
|
|
install=
|
|
subpackages="$pkgname-doc"
|
|
source="http://oss.linbit.com/csync2/csync2-$pkgver.tar.gz
|
|
01-csync2-sqlite3.patch
|
|
02-csync2-1.34-gnutls_pkgconfig.patch
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in ../*.patch; do
|
|
msg "Applying $i"
|
|
patch -p1 -i $i || return 1
|
|
done
|
|
autoreconf --install --force
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
md5sums="efc8a3548996b79cef2ad76af5e93cd8 csync2-1.34.tar.gz
|
|
35ba1bb1aafd87741c7ef55bdfb2e212 01-csync2-sqlite3.patch
|
|
31b2ed6a7bb424ccdbf1486223eca323 02-csync2-1.34-gnutls_pkgconfig.patch"
|