[arch-commits] Commit in lib32-libndp (3 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Aug 19 20:43:23 UTC 2016
Date: Friday, August 19, 2016 @ 20:43:23
Author: alucryd
Revision: 187108
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libndp/repos/
lib32-libndp/repos/multilib-x86_64/
lib32-libndp/repos/multilib-x86_64/PKGBUILD
(from rev 187107, lib32-libndp/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: lib32-libndp/repos/multilib-x86_64/PKGBUILD (from rev 187107, lib32-libndp/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD (rev 0)
+++ repos/multilib-x86_64/PKGBUILD 2016-08-19 20:43:23 UTC (rev 187108)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: oi_wtf <brainpower at gulli.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=lib32-libndp
+pkgver=1.6
+pkgrel=1
+pkgdesc='Library for Neighbor Discovery Protocol'
+arch=('x86_64')
+url='http://libndp.org/'
+license=('LGPL2.1')
+depends=('lib32-glibc' 'libndp')
+makedepends=('gcc-multilib')
+source=("http://libndp.org/files/libndp-$pkgver.tar.gz")
+sha256sums=('0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e')
+
+build() {
+ cd libndp-${pkgver}
+
+ export CC='gcc -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --libexecdir='/usr/lib32' \
+ --localstatedir='/var' \
+ --sysconfdir='/etc' \
+ --disable-static
+ make
+}
+
+package() {
+ cd libndp-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list