[arch-commits] Commit in lib32-libshout/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Mar 16 21:23:59 UTC 2017


    Date: Thursday, March 16, 2017 @ 21:23:58
  Author: arojas
Revision: 216827

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libshout/repos/multilib-staging-x86_64/
  lib32-libshout/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 216826, lib32-libshout/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: lib32-libshout/repos/multilib-staging-x86_64/PKGBUILD (from rev 216826, lib32-libshout/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2017-03-16 21:23:58 UTC (rev 216827)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: GordonGR <gordongr at freemail.gr>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: arjan <arjan at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=lib32-libshout
+_pkgname=libshout
+pkgver=2.4.1
+pkgrel=3
+pkgdesc="Library for accessing a shoutcast/icecast server (32 bit)"
+arch=('x86_64')
+depends=('lib32-libvorbis' 'lib32-libtheora' 'lib32-speex' 'lib32-openssl' 'libshout')
+url="http://www.icecast.org/"
+options=('!emptydirs')
+license=('LGPL')
+source=("http://downloads.xiph.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('89cebf8cb0197f639cde69c95177fe47')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd ${_pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 --libexecdir=/usr/lib32
+  make
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  rm -r "$pkgdir"/usr/{include,share}
+}


More information about the arch-commits mailing list