aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairomm/APKBUILD
blob: 43304eafeac9fb0fe0ec78b7d155b7fa4aeaf3e1 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairomm
pkgver=1.8.4
pkgrel=0
pkgdesc="C++ bindings to Cairo vector graphics library"
url="http://www.cairographics.org"
arch="x86 x86_64"
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
}

md5sums="559afbc47484ba3fad265e38a3dafe90  cairomm-1.8.4.tar.gz"