PKGBUILDs/extra/glew/PKGBUILD

24 lines
774 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $
# AUR-Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: SleepyDog
pkgname=glew
pkgver=1.5.1
pkgrel=1
pkgdesc="A cross-platform C/C++ extension loading library"
arch=('i686' 'x86_64')
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
depends=('libxmu' 'libxi' 'mesa')
makedepends=('hd2u')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tgz)
md5sums=('759a59853dfaae4d007b414a3c1712f2')
build() {
cd ${startdir}/src/${pkgname}
dos2unix config/config.guess
make || return 1
make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install || return 1
install -D -m644 LICENSE.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE.txt || return 1
}