summaryrefslogtreecommitdiffstats
path: root/main/pango
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/pango
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/pango')
-rw-r--r--main/pango/APKBUILD29
-rw-r--r--main/pango/pango.post-install2
-rw-r--r--main/pango/pango.pre-deinstall2
3 files changed, 33 insertions, 0 deletions
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD
new file mode 100644
index 000000000..b7687936f
--- /dev/null
+++ b/main/pango/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=pango
+pkgver=1.26.2
+pkgrel=0
+pkgdesc="A library for layout and rendering of text"
+url="http://www.pango.org/"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev
+ expat-dev"
+install="pango.post-install $pkgname.pre-deinstall"
+source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+
+depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev"
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="f30212b8833af3ce5c82121dc309e3d0 pango-1.26.2.tar.bz2"
diff --git a/main/pango/pango.post-install b/main/pango/pango.post-install
new file mode 100644
index 000000000..15a6090db
--- /dev/null
+++ b/main/pango/pango.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+pango-querymodules > /etc/pango/pango.modules
diff --git a/main/pango/pango.pre-deinstall b/main/pango/pango.pre-deinstall
new file mode 100644
index 000000000..92127b59d
--- /dev/null
+++ b/main/pango/pango.pre-deinstall
@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -f /etc/pango/pango.modules