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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu May 9 15:36:41 EDT 2013


    Date: Thursday, May 9, 2013 @ 21:36:41
  Author: bpiotrowski
Revision: 184996

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

Added:
  giflib/repos/staging-i686/
  giflib/repos/staging-i686/PKGBUILD
    (from rev 184995, giflib/trunk/PKGBUILD)
  giflib/repos/staging-x86_64/
  giflib/repos/staging-x86_64/PKGBUILD
    (from rev 184995, giflib/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: giflib/repos/staging-i686/PKGBUILD (from rev 184995, giflib/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-09 19:36:41 UTC (rev 184996)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+# Contributor: mightyjaym <jm.ambrosino at free.fr>
+
+pkgname=giflib
+pkgver=5.0.4
+pkgrel=1
+pkgdesc="A library for reading and writing gif images"
+url="http://sourceforge.net/projects/giflib/"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libx11')
+provides=("libungif=${pkgver}")
+conflicts=('libungif')
+replaces=('libungif')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('da60935d07374de00a78c2f6f720c8f5')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+#  sed -i '/AC_PATH_XTRA/d' configure.ac
+#  libtoolize -f
+#  autoreconf
+  ./configure --prefix=/usr --disable-static
+  make
+
+  # libungif compatibility - instructions taken from Redhat specfile
+  MAJOR=`echo ${pkgver} | sed 's/\([0-9]\+\)\..*/\1/'`
+  gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.${pkgver}
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 libungif.so.${pkgver} "${pkgdir}/usr/lib/"
+  ln -sf libungif.so.${pkgver} "${pkgdir}/usr/lib/libungif.so.4"
+  ln -sf libungif.so.4 "${pkgdir}/usr/lib/libungif.so"
+
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Copied: giflib/repos/staging-x86_64/PKGBUILD (from rev 184995, giflib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-09 19:36:41 UTC (rev 184996)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
+# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
+# Contributor: mightyjaym <jm.ambrosino at free.fr>
+
+pkgname=giflib
+pkgver=5.0.4
+pkgrel=1
+pkgdesc="A library for reading and writing gif images"
+url="http://sourceforge.net/projects/giflib/"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libx11')
+provides=("libungif=${pkgver}")
+conflicts=('libungif')
+replaces=('libungif')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('da60935d07374de00a78c2f6f720c8f5')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+#  sed -i '/AC_PATH_XTRA/d' configure.ac
+#  libtoolize -f
+#  autoreconf
+  ./configure --prefix=/usr --disable-static
+  make
+
+  # libungif compatibility - instructions taken from Redhat specfile
+  MAJOR=`echo ${pkgver} | sed 's/\([0-9]\+\)\..*/\1/'`
+  gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o libungif.so.${pkgver}
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 libungif.so.${pkgver} "${pkgdir}/usr/lib/"
+  ln -sf libungif.so.${pkgver} "${pkgdir}/usr/lib/libungif.so.4"
+  ln -sf libungif.so.4 "${pkgdir}/usr/lib/libungif.so"
+
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list