aboutsummaryrefslogtreecommitdiffstats
path: root/main/cairomm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-24 11:33:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-24 11:33:01 +0000
commit8c9cf58b8dae048cc73cf74deb5005c7a3488783 (patch)
tree49c6328038ccef2e40f7f341eda57045820cdf6e /main/cairomm/APKBUILD
parentec07a07613ebfb871e15e4da37fa78c0db70d0c7 (diff)
downloadaports-8c9cf58b8dae048cc73cf74deb5005c7a3488783.tar.bz2
aports-8c9cf58b8dae048cc73cf74deb5005c7a3488783.tar.xz
main/cairomm: moved from testing
Diffstat (limited to 'main/cairomm/APKBUILD')
-rw-r--r--main/cairomm/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/cairomm/APKBUILD b/main/cairomm/APKBUILD
new file mode 100644
index 0000000000..9942749e0a
--- /dev/null
+++ b/main/cairomm/APKBUILD
@@ -0,0 +1,26 @@
+# 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"
+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"