summaryrefslogtreecommitdiffstats
path: root/main/cairomm/APKBUILD
blob: 3fd3bc2831a1b6a347886d25b6b5dbc37c34c74e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairomm
pkgver=1.10.0
pkgrel=1
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 --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"