diff options
Diffstat (limited to 'testing/csync2/APKBUILD')
-rw-r--r-- | testing/csync2/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/csync2/APKBUILD b/testing/csync2/APKBUILD new file mode 100644 index 0000000000..6c4096a632 --- /dev/null +++ b/testing/csync2/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=csync2 +pkgver=1.34 +pkgrel=0 +pkgdesc="a cluster synchronization tool" +url="http://oss.linbit.com/csync2/" +license="GPL-2+" +depends= +makedepends="librsync-dev gnutls-dev sqlite-dev autoconf automake" +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" |