mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 18:04:37 +08:00
23 lines
670 B
Bash
23 lines
670 B
Bash
# $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
|
|
}
|