[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Oct 26 22:08:21 UTC 2014


    Date: Sunday, October 26, 2014 @ 23:08:20
  Author: svenstaro
Revision: 121442

Prepare lib32-libnl for wine

Added:
  lib32-libnl/
  lib32-libnl/repos/
  lib32-libnl/trunk/
  lib32-libnl/trunk/PKGBUILD

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

Added: lib32-libnl/trunk/PKGBUILD
===================================================================
--- lib32-libnl/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libnl/trunk/PKGBUILD	2014-10-26 22:08:20 UTC (rev 121442)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Maximilian Stein <maxarchpkgbuild at hmamail.com>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: Taylor Lookabaugh <jesus.christ.i.love at gmail.com>
+
+_pkgbase=libnl
+pkgname=lib32-${_pkgbase}
+pkgver=3.2.25
+pkgrel=1
+pkgdesc="Library for applications dealing with netlink sockets (32 bit)"
+arch=('x86_64')
+url="http://www.infradead.org/~tgr/libnl/"
+license=('GPL')
+depends=('lib32-glibc' "${_pkgbase}")
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=("${url}/files/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5')
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  
+  cd ${_pkgbase}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --sbindir=/usr/bin \
+    --disable-static \
+    --libdir=/usr/lib32
+  make
+}
+
+package() {
+  cd ${_pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/{etc,usr/{bin,include,share}}
+}



More information about the arch-commits mailing list