core/glew/PKGBUILD

23 lines
670 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 67026 2010-02-02 11:51:53Z giovanni $
# Maintainer:
# Contributor: SleepyDog
pkgname=glew
pkgver=1.5.2
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')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
md5sums=('310916d887253dc9f4be6ab13501603a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make || return 1
make GLEW_DEST=${pkgdir}/usr LIBDIR=${pkgdir}/usr/lib install || return 1
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}