wok-stable view freeglut/receipt @ rev 6095
clucene add TAGS
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Aug 30 22:01:20 2010 +0200 (2010-08-30) |
parents | 9f19aee613be |
children | 6f535262c026 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="2.6.0-rc1"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 DEPENDS="glibc-base libdrm libgl \
9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
11 SUGGESTED="nvidia"
12 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \
13 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://freeglut.sourceforge.net/"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
23 cd $src
24 # sed -i 's/-Werror//' configure
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 # sed -i '/XF86VMODE/d' config.status
29 make &&
30 make DESTDIR=$src/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 strip -s $fs/usr/lib/*
39 }