[arch-commits] Commit in lib32-libshout/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri May 10 15:22:29 UTC 2019
Date: Friday, May 10, 2019 @ 15:22:28
Author: felixonmars
Revision: 464872
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-libshout/repos/multilib-testing-x86_64/
lib32-libshout/repos/multilib-testing-x86_64/PKGBUILD
(from rev 464871, lib32-libshout/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: lib32-libshout/repos/multilib-testing-x86_64/PKGBUILD (from rev 464871, lib32-libshout/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2019-05-10 15:22:28 UTC (rev 464872)
@@ -0,0 +1,39 @@
+# 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.2
+pkgrel=1
+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=("https://downloads.xiph.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('b7a33377d716a95c9159f0922d04e596')
+
+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