aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-17 14:25:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-17 14:25:27 +0000
commit4486a3f1909aae5dfed37dcbca12421913c2aa48 (patch)
tree03335bb2d423ca0a142dd3d9e565fcccf114a3f9 /main
parent3f53f9ab7c6b6734ec8164a38d5d498438fc0b7c (diff)
downloadaports-4486a3f1909aae5dfed37dcbca12421913c2aa48.tar.bz2
aports-4486a3f1909aae5dfed37dcbca12421913c2aa48.tar.xz
main/glib: upgrade to 2.22.4
Diffstat (limited to 'main')
-rw-r--r--main/glib/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index a96c43c965..1bf81305de 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=glib
-pkgver=2.22.2
+pkgver=2.22.4
pkgrel=0
pkgdesc="Common C routines used by Gtk+ and other libs"
url="http://www.gtk.org"
@@ -12,15 +12,23 @@ subpackages="$pkgname-doc $pkgname-dev"
depends_dev="perl gettext-dev libiconv-dev pkgconfig"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
# busybox env does not handle the -w after perl. we remove it for now
sed -i -e '1,1s/ -w//' gobject/glib-mkenums.in
+}
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir/" install
}
@@ -30,4 +38,4 @@ dev() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="846a86c74b74d5b16826aa5508940f9b glib-2.22.2.tar.bz2"
+md5sums="d91bcbe27556430ddecce65086355708 glib-2.22.4.tar.bz2"