wok-6.x view freeglut/receipt @ rev 3624

Upgrade: menu-cache (0.2.2 to 0.2.5)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jun 30 15:16:28 2009 +0000 (2009-06-30)
parents 67356fcbb83e
children 2db429fb192c
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="b1+slitaz@nagel.org"
8 DEPENDS="xorg libgl libglu"
9 BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev mesa"
10 TARBALL="freeglut-$VERSION.tar.gz"
11 WEB_SITE="http://freeglut.sourceforge.net/"
12 WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/-Werror//' configure
19 ./configure --prefix=/usr $CONFIGURE_ARGS
20 sed -i '/XF86VMODE/d' config.status
21 make
22 make DESTDIR=$src/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 strip -s $fs/usr/lib/*
31 }