You are not logged in.

#1 2004-05-06 14:40:33

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

[multimedia: graphics] freeglut

Hi!

Just made a package for freeglut and uploaded it incoming (freeglut-2.2.0.tar.gz and PKGBUILD.freeglut)

Freeglut is a open-source implementation of the otherwise dead glut from opengl.org, which adds more functionality, see more at freeglut.sf.net

The package is providing, and conflicts with, glut.

here's the PKGBUILD:

pkgname=freeglut
pkgver=2.2.0
pkgrel=1
pkgdesc="A GLUT implementation"
depends=("glibc")
provides=("glut")
conflicts=("glut")
url="http://freeglut.sf.net/"
source=(http://dl.sourceforge.net/sourceforge/freeglut/$pkgname-$pkgver.tar.gz)
md5sums=('9439b8745f443131c2dad00bc93dc0ef')

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr  
        make all || return 1
        make prefix=$startdir/pkg/usr install
        cd $startdir/pkg/usr/lib
        ln -s libglut.so.3.8.0 libglut.so.3
        ln -s libglut.so.3.8.0 libglut.so.3.7
        ln -s libglut.so.3.8.0 libglut.so.3.7.0

Offline

Board footer

Powered by FluxBB