diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-22 17:27:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-22 17:27:24 +0000 |
commit | 3226dccdcf9068f9b4be0fe625690bd355dcec4d (patch) | |
tree | 9a06741ab1e56bb86f7deff0b6fd8cd4d51543a7 /testing/dconf/APKBUILD | |
parent | dc36e1d905e3c8c70e2b3c81631efb921e76e988 (diff) | |
download | aports-3226dccdcf9068f9b4be0fe625690bd355dcec4d.tar.bz2 aports-3226dccdcf9068f9b4be0fe625690bd355dcec4d.tar.xz |
testing/dconf: new aport
A low-level configuration system.
http://live.gnome.org/dconf
Diffstat (limited to 'testing/dconf/APKBUILD')
-rw-r--r-- | testing/dconf/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/dconf/APKBUILD b/testing/dconf/APKBUILD new file mode 100644 index 000000000..4a73a3068 --- /dev/null +++ b/testing/dconf/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=dconf +pkgver=0.5.1 +pkgrel=0 +pkgdesc="A low-level configuration system." +url="http://live.gnome.org/dconf" +license="LGPL2.1" +depends="" +makedepends="vala gobject-introspection gtk+-dev glib-dev libxml2-dev" +install= +source="http://download.gnome.org/sources/dconf/0.5/dconf-$pkgver.tar.bz2 + 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch + " + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) + patch -p1 -i "$srcdir/$i" || return 1 + ;; + esac + done +} + +build () +{ + cd "$_builddir" + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/dconf + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="c905497d0255fe2ba58564f9655908ab dconf-0.5.1.tar.bz2 +750788f7fa6ff128ecdf7639ffff8b78 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch" |