wok view freeglut/receipt @ rev 2497
eet: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 10:12:58 2009 +0000 (2009-03-16) |
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 }