diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-23 21:32:45 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-23 21:32:45 -0600 |
commit | 6dfb88a351c7f1296cd8a754b71756c063d7e2ae (patch) | |
tree | 310fcc638cb1ee40c05bb8b7d3b94e0337528db5 /testing | |
parent | 38235de9f0cc1e5a628ea80e35ad0e5ca1ff3dc6 (diff) | |
download | aports-6dfb88a351c7f1296cd8a754b71756c063d7e2ae.tar.bz2 aports-6dfb88a351c7f1296cd8a754b71756c063d7e2ae.tar.xz |
testing/libgtkhtml: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libgtkhtml/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/libgtkhtml/APKBUILD b/testing/libgtkhtml/APKBUILD new file mode 100644 index 000000000..58e93c97e --- /dev/null +++ b/testing/libgtkhtml/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=libgtkhtml +pkgver=2.11.1 +pkgrel=0 +pkgdesc="GTK HTML renderer" +url="http://projects.gnome.org/evolution" +arch="all" +license="LGPL" +depends= +depends_dev="gtk+-dev libxml2-dev gnome-vfs-dev libxrandr-dev libxau-dev libxi-dev libxt-dev libxrender-dev libxcursor-dev libxdmcp-dev libxcomposite-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-scrollkeeper || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + + +md5sums="a1d1a197dcff8c4571659deef5495e24 libgtkhtml-2.11.1.tar.bz2" |