mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 11:37:14 +08:00
32 lines
905 B
Bash
32 lines
905 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=glew
|
|
pkgver=1.5.6
|
|
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=('e6f56eb765f1da489a1327793adcf6bb')
|
|
|
|
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"
|
|
}
|