blob: 550f4b40f4612107ed71aaeed032d2cf502e6911 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsyncml
pkgver=0.5.4
pkgrel=1
pkgdesc="Implementation of the SyncML protocol"
url="http://libsyncml.opensync.org/"
arch="all"
license="LGPL-2.1"
depends=
makedepends="glib-dev libxml2-dev libwbxml-dev openobex-dev bluez-dev cmake"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/libsyncml/libsyncml-$pkgver.tar.bz2"
_srcdir="$srcdir"/$pkgname-$pkgver
_builddir="$srcdir"/build
prepare() {
mkdir -p "$_builddir"
}
build() {
cd "$_builddir"
cmake -DCMAKE_INSTALL_PREFIX=/usr "$_srcdir"
make
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
}
md5sums="b8ce1f222cccc12acdcd6807d65c1aea libsyncml-0.5.4.tar.bz2"
|