aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sblim-sfcc/APKBUILD
blob: 1fb8feaff4fe3feda1d91d7dd6063a4059b68860 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sblim-sfcc
pkgver=2.2.8
pkgrel=0
pkgdesc="Small Footprint CIM Client Library"
url="http://sourceforge.net/projects/sblim"
arch="all"
license="EPL-1.0"
depends="curl"
makedepends="curl-dev linux-headers automake autoconf libtool m4"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/sblim/$pkgname/$pkgname-$pkgver.tar.bz2
	time-struct.patch
	sockaddr-arg.patch"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	update_config_guess
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--enable-static=no
	make
}

check() {
	cd "$builddir"
	make check	
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b5eb7712aed1e40f19993ba5f5ee2f1f48c01246d28e9f4d89cee53000801ce4fe7c862a82163a55774c71094223b32bf8981a883ad04e820f9c749e746f52fa  sblim-sfcc-2.2.8.tar.bz2
624d8e198ac2801bcb0d137aa927619e29892def0f8bca28c65b1c48390ebe5ce1d3f2ab29f2e99ec29d5790158368579ee075fe9d3414aba1ef1ed69f8d0923  time-struct.patch
f92b4b0bfe75a46728279882123dabba2fe2c7932982ab29e6e827741c22153fb34024d17007171ba1faeb455f7a09846b1e8f3fe8fdff0ff7a5890dd162377b  sockaddr-arg.patch"