blob: 291abce6c470a2cd1d0acd126235414fcadc44d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $Id: PKGBUILD 98297 2010-11-06 17:51:38Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: SleepyDog
pkgname=glew
pkgver=1.5.7
pkgrel=1
pkgdesc="The OpenGL Extension Wrangler 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)
sha1sums=('4adc816afbfb65a4969484d10343a88c117ca989')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|lib64|lib|' config/Makefile.linux
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make GLEW_DEST="${pkgdir}/usr" install
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent
|