[arch-commits] Commit in json-c/repos (4 files)

Jan Steffens heftig at nymeria.archlinux.org
Mon Jan 28 00:11:45 UTC 2013


    Date: Monday, January 28, 2013 @ 01:11:44
  Author: heftig
Revision: 176239

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  json-c/repos/extra-i686/PKGBUILD
    (from rev 176238, json-c/trunk/PKGBUILD)
  json-c/repos/extra-x86_64/PKGBUILD
    (from rev 176238, json-c/trunk/PKGBUILD)
Deleted:
  json-c/repos/extra-i686/PKGBUILD
  json-c/repos/extra-x86_64/PKGBUILD

-----------------------+
 extra-i686/PKGBUILD   |   60 +++++++++++++++++++++++++++---------------------
 extra-x86_64/PKGBUILD |   60 +++++++++++++++++++++++++++---------------------
 2 files changed, 68 insertions(+), 52 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-01-28 00:10:28 UTC (rev 176238)
+++ extra-i686/PKGBUILD	2013-01-28 00:11:44 UTC (rev 176239)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: congyiwu <congyiwu AT gmail DOT com>
-pkgname=json-c
-pkgver=0.10
-pkgrel=1
-pkgdesc="A JSON implementation in C"
-url="https://github.com/json-c/json-c/wiki"
-license=("MIT")
-arch=('i686' 'x86_64')
-depends=('glibc')
-source=(https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('a4edc79410eb894f08d7d52ca9f88732')
-options=(!libtool)
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: json-c/repos/extra-i686/PKGBUILD (from rev 176238, json-c/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-01-28 00:11:44 UTC (rev 176239)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: congyiwu <congyiwu AT gmail DOT com>
+pkgname=json-c
+pkgver=0.10
+pkgrel=2
+pkgdesc="A JSON implementation in C"
+url="https://github.com/json-c/json-c/wiki"
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('glibc')
+source=(https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a4edc79410eb894f08d7d52ca9f88732')
+options=(!libtool)
+build() {
+  cd $pkgname-$pkgver
+
+  ## from http://pkgs.fedoraproject.org/cgit/json-c.git/tree/json-c.spec
+  # Hack to get json_object_iterator.c compiled
+  sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \
+      -e 's/json_object.h/json_object.h json_object_iterator.h/' \
+      -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \
+      -i Makefile.in
+
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-01-28 00:10:28 UTC (rev 176238)
+++ extra-x86_64/PKGBUILD	2013-01-28 00:11:44 UTC (rev 176239)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: congyiwu <congyiwu AT gmail DOT com>
-pkgname=json-c
-pkgver=0.10
-pkgrel=1
-pkgdesc="A JSON implementation in C"
-url="https://github.com/json-c/json-c/wiki"
-license=("MIT")
-arch=('i686' 'x86_64')
-depends=('glibc')
-source=(https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('a4edc79410eb894f08d7d52ca9f88732')
-options=(!libtool)
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: json-c/repos/extra-x86_64/PKGBUILD (from rev 176238, json-c/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-01-28 00:11:44 UTC (rev 176239)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: congyiwu <congyiwu AT gmail DOT com>
+pkgname=json-c
+pkgver=0.10
+pkgrel=2
+pkgdesc="A JSON implementation in C"
+url="https://github.com/json-c/json-c/wiki"
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('glibc')
+source=(https://github.com/downloads/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a4edc79410eb894f08d7d52ca9f88732')
+options=(!libtool)
+build() {
+  cd $pkgname-$pkgver
+
+  ## from http://pkgs.fedoraproject.org/cgit/json-c.git/tree/json-c.spec
+  # Hack to get json_object_iterator.c compiled
+  sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \
+      -e 's/json_object.h/json_object.h json_object_iterator.h/' \
+      -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \
+      -i Makefile.in
+
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}




More information about the arch-commits mailing list