summaryrefslogtreecommitdiffstats
path: root/abs/extra/glew/PKGBUILD
blob: 1db995dc7d8919196ecb7bf9ec71aa7b6966b7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $
# AUR-Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: SleepyDog

pkgname=glew
pkgver=1.5.5
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}.tgz)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  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
}
md5sums=('3621f27cfd3e33d5dbcc1111ecb5b762')