diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
commit | 9526ee659401dee7160f35cb62ded2779bcbbc99 (patch) | |
tree | 812ad73bde9c84dcc02a3acbc5db576369ca314a /main/librsvg/APKBUILD | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/librsvg/APKBUILD')
-rw-r--r-- | main/librsvg/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD new file mode 100644 index 0000000000..ba930bf6db --- /dev/null +++ b/main/librsvg/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=librsvg +pkgver=2.26.0 +pkgrel=0 +pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" +url="http://librsvg.sourceforge.net/" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends= +makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev" +install="librsvg.post-install librsvg.post-upgrade librsvg.post-deinstall" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.26/$pkgname-$pkgver.tar.bz2 + $install" + +depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/$pkgname \ + --with-croco \ + --disable-static \ + --disable-mozilla-plugin \ + --with-svgz || return 1 + make || return 1 + make DESTDIR=""$pkgdir"" install || return 1 + rm -rf "$pkgdir"/usr/lib/mozilla +} + +md5sums="65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2 +323a187b3a9bc1c506543c03a6f533ce librsvg.post-install +323a187b3a9bc1c506543c03a6f533ce librsvg.post-upgrade +323a187b3a9bc1c506543c03a6f533ce librsvg.post-deinstall" |