summaryrefslogtreecommitdiff
path: root/multilib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-04 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-04 23:14:34 +0000
commit7e5cd77730015792e26338edcc137acf3f1bd2ae (patch)
tree7e8d59d2d1f570618635d8136647e0903f03bc0b /multilib
parent8c2359e2541f9d1b11443b49d8ea502b3ffea39c (diff)
Thu Aug 4 23:14:34 UTC 2011
Diffstat (limited to 'multilib')
-rw-r--r--multilib/lib32-bzip2/PKGBUILD43
-rw-r--r--multilib/lib32-freetype2/PKGBUILD6
-rw-r--r--multilib/lib32-mesa/PKGBUILD9
3 files changed, 49 insertions, 9 deletions
diff --git a/multilib/lib32-bzip2/PKGBUILD b/multilib/lib32-bzip2/PKGBUILD
new file mode 100644
index 000000000..3b81ad3ec
--- /dev/null
+++ b/multilib/lib32-bzip2/PKGBUILD
@@ -0,0 +1,43 @@
+#$Id: PKGBUILD 53422 2011-08-03 14:41:13Z ibiru $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: TryA <tryagainprod {at} gmail.com>
+
+_pkgbasename=bzip2
+pkgname=lib32-bzip2
+pkgver=1.0.6
+pkgrel=1
+pkgdesc="A high-quality data compression program (32-bit)"
+arch=('x86_64')
+license=('custom')
+url="http://sources.redhat.com/bzip2"
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('gcc-multilib')
+source=(http://www.bzip.org/$pkgver/bzip2-$pkgver.tar.gz)
+md5sums=('00b516f4704d4a7cb50a1d97e6e8e15b')
+
+build() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ sed -i "s|CC=gcc|CC=gcc -m32|" Makefile
+ sed -i "s|CC=gcc|CC=gcc -m32|" Makefile-libbz2_so
+
+ # add large-file support
+ sed -e 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' -i ./Makefile-libbz2_so
+
+ # use our optimization
+ sed -i "s|-O2|${CFLAGS}|g" Makefile
+ sed -i "s|-O2|${CFLAGS}|g" Makefile-libbz2_so
+
+ make -f Makefile-libbz2_so
+ make libbz2.a
+}
+
+package(){
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ install -Dm755 libbz2.so.1.0.6 "${pkgdir}"/usr/lib32/libbz2.so.1.0.6
+ ln -s libbz2.so.1.0.6 "${pkgdir}"/usr/lib32/libbz2.so
+ ln -s libbz2.so.1.0.6 "${pkgdir}"/usr/lib32/libbz2.so.1
+ ln -s libbz2.so.1.0.6 "${pkgdir}"/usr/lib32/libbz2.so.1.0
+
+ install -Dm644 libbz2.a ${pkgdir}/usr/lib32/libbz2.a
+}
diff --git a/multilib/lib32-freetype2/PKGBUILD b/multilib/lib32-freetype2/PKGBUILD
index 02eb2af12..73a59381b 100644
--- a/multilib/lib32-freetype2/PKGBUILD
+++ b/multilib/lib32-freetype2/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 53168 2011-07-31 09:46:40Z ibiru $
+# $Id: PKGBUILD 53420 2011-08-03 14:38:19Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
_pkgbasename=freetype2
pkgname=lib32-$_pkgbasename
pkgver=2.4.6
-pkgrel=1
+pkgrel=2
pkgdesc="TrueType font rendering library (32-bit)"
arch=(x86_64)
license=('GPL')
url="http://freetype.sourceforge.net"
-depends=('lib32-zlib' $_pkgbasename)
+depends=('lib32-zlib' 'lib32-bzip2' $_pkgbasename)
makedepends=(gcc-multilib)
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
diff --git a/multilib/lib32-mesa/PKGBUILD b/multilib/lib32-mesa/PKGBUILD
index d381a3346..ce31f6840 100644
--- a/multilib/lib32-mesa/PKGBUILD
+++ b/multilib/lib32-mesa/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 53216 2011-08-01 12:58:34Z ibiru $
+# $Id: PKGBUILD 53381 2011-08-03 10:15:51Z ibiru $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
@@ -16,10 +16,10 @@ if [ "${_git}" = "true" ]; then
pkgver=7.11
fi
-pkgrel=1
+pkgrel=2
arch=(x86_64)
makedepends=('glproto>=1.4.14' 'lib32-libdrm>=2.4.26' 'lib32-libxxf86vm>=1.1.1' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-libx11>=1.4.3' 'lib32-libxt>=1.1.1'
-'lib32-gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'gcc-multilib' imake 'lib32-udev' 'lib32-llvm')
+'lib32-gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'gcc-multilib' imake 'lib32-udev' 'lib32-llvm' 'namcap')
url="http://mesa3d.sourceforge.net"
license=('custom')
if [ "${_git}" = "true" ]; then
@@ -39,9 +39,6 @@ build() {
# for our llvm-config for 32 bit
export LLVM_CONFIG=/usr/lib32/llvm/llvm-config
- # fix link errors: https://bugs.archlinux.org/task/25093
- export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
-
cd ${srcdir}/?esa-*
autoreconf -vfi