wok view freeglut/receipt @ rev 5001
[f-g]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:33:01 2010 +0100 (2010-02-28) |
parents | b149cd5f40d0 |
children | 19dad1e8892c |
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 nvidia"
11 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \
12 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://freeglut.sourceforge.net/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
22 cd $src
23 # sed -i 's/-Werror//' configure
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 # sed -i '/XF86VMODE/d' config.status
28 make &&
29 make DESTDIR=$src/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 strip -s $fs/usr/lib/*
38 }