aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairomm/APKBUILD
blob: cfd5d159089b527b639bb40c34d6dda13131d547 (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.6
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="39af0fd0c111bb74307f9860653046ce  cairomm-1.8.6.tar.gz"