summaryrefslogtreecommitdiffstats
path: root/main/cairomm/APKBUILD
blob: 5ff5bca0eb1fbd43b062779196bc9e26de934b38 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairomm
pkgver=1.10.0
pkgrel=2
pkgdesc="C++ bindings to Cairo vector graphics library"
url="http://www.cairographics.org"
arch="all"
license="LGPL MPL"
depends=""
makedepends="cairo-dev libsigc++-dev perl"
depends_dev="$makedepends"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="9c63fb1c04c8ecd3c5e6473075b8c39f  cairomm-1.10.0.tar.gz"