wok-current view freeglut/receipt @ rev 1646
Up Gimp to 2.6.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Nov 08 13:32:42 2008 +0000 (2008-11-08) |
parents | 03a799424aaa |
children | 67356fcbb83e |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="2.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="bill@nagel.org"
8 TARBALL="freeglut-$VERSION.tar.gz"
9 WEB_SITE="http://freeglut.sourceforge.net/"
10 WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
12 # DEPENDS does not include mesa because libGL
13 # might already be provided by a driver, and we do
14 # not want mesa to clobber libGL
15 DEPENDS="xorg mesa"
16 BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev mesa"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/-Werror//' configure
23 ./configure --prefix=/usr $CONFIGURE_ARGS
24 sed -i '/XF86VMODE/d' config.status
25 make
26 make DESTDIR=$src/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/lib/*
35 }