blob: 1c43914cbfd55d5b2d28fe7e7b82ca6ebad4f585 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairomm
pkgver=1.10.0
pkgrel=4
pkgdesc="C++ bindings to Cairo vector graphics library"
url="http://www.cairographics.org"
arch="all"
license="LGPL2+ MPL 1.1"
depends=""
depends_dev="libsigc++-dev"
makedepends="$depends_dev cairo-dev perl"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="9c63fb1c04c8ecd3c5e6473075b8c39f cairomm-1.10.0.tar.gz"
sha256sums="068d96c43eae7b0a3d98648cbfc6fbd16acc385858e9ba6d37b5a47e4dba398f cairomm-1.10.0.tar.gz"
sha512sums="974b1c078c8d7b82f8d026e384811c016fa95cb62942fc12717edd993cb1660bc004bee5f8ce31c0540ef8d4105a2d86cd461ed3f5e996fd3faf65dfb37ac9e2 cairomm-1.10.0.tar.gz"
|