[arch-commits] CVS update of extra/lib/glew (PKGBUILD license.txt)

Eric Belanger eric at archlinux.org
Sat Jun 2 06:10:57 UTC 2007


    Date: Saturday, June 2, 2007 @ 02:10:57
  Author: eric
    Path: /home/cvs-extra/extra/lib/glew

   Added: license.txt (1.1)
Modified: PKGBUILD (1.2 -> 1.3)

Added x86_64 to arch field
Fix to install libs in /usr/lib instead of /usr/lib64
Added license file


-------------+
 PKGBUILD    |   11 ++++++-----
 license.txt |   28 ++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 5 deletions(-)


Index: extra/lib/glew/PKGBUILD
diff -u extra/lib/glew/PKGBUILD:1.2 extra/lib/glew/PKGBUILD:1.3
--- extra/lib/glew/PKGBUILD:1.2	Fri Jun  1 18:28:36 2007
+++ extra/lib/glew/PKGBUILD	Sat Jun  2 02:10:57 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.2 2007/06/01 22:28:36 tobias Exp $
+# $Id: PKGBUILD,v 1.3 2007/06/02 06:10:57 eric Exp $
 # AUR-Maintainer: William Rea <sillywilly at gmail.com>
 # Contributor: SleepyDog
 
@@ -6,15 +6,16 @@
 pkgver=1.4.0
 pkgrel=1
 pkgdesc="A cross-platform C/C++ extension loading library"
+arch=('i686' 'x86_64')
 url="http://glew.sourceforge.net"
-arch=('i686')
 depends=('libxmu' 'libxi' 'mesa')
 license=('custom')
-source=(http://dl.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tgz)
-md5sums=('4c3f0c919103e00b149695a06285b398')
+source=(http://dl.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tgz license.txt)
+md5sums=('4c3f0c919103e00b149695a06285b398' '5539e73b829f051bc6436c61fedc53ba')
 
 build() {
   cd ${startdir}/src/${pkgname}
   make || return 1
-  make GLEW_DEST=${startdir}/pkg/usr install
+  make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install
+  install -D -m644 ${startdir}/src/license.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
 }
Index: extra/lib/glew/license.txt
diff -u /dev/null extra/lib/glew/license.txt:1.1
--- /dev/null	Sat Jun  2 02:10:57 2007
+++ extra/lib/glew/license.txt	Sat Jun  2 02:10:57 2007
@@ -0,0 +1,28 @@
+## The OpenGL Extension Wrangler Library
+## Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
+## Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
+## Copyright (C) 2002, Lev Povalahev
+## All rights reserved.
+## 
+## Redistribution and use in source and binary forms, with or without 
+## modification, are permitted provided that the following conditions are met:
+## 
+## * Redistributions of source code must retain the above copyright notice, 
+##   this list of conditions and the following disclaimer.
+## * Redistributions in binary form must reproduce the above copyright notice, 
+##   this list of conditions and the following disclaimer in the documentation 
+##   and/or other materials provided with the distribution.
+## * The name of the author may be used to endorse or promote products 
+##   derived from this software without specific prior written permission.
+##
+## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+## THE POSSIBILITY OF SUCH DAMAGE.




More information about the arch-commits mailing list