wok-current view freeglut/receipt @ rev 4592

update get-wifi-firmaware; rt2860,rt2870 fw now in kernel; rt73,rt61 WGET_URL temporarily fixed using Arch sources
author Rohit Joshi <jozee@slitaz.org>
date Fri Dec 11 12:21:27 2009 +0000 (2009-12-11)
parents 2db429fb192c
children 9f19aee613be
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 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 }