wok view freeglut/receipt @ rev 3696

Update: freeglut (DEPENDS and BUILD_DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 16 15:19:49 2009 +0000 (2009-07-16)
parents 88bf5a2b55c3
children b149cd5f40d0
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="glibc-base gcc-lib-base libdrm libgl libglu \
9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
10 xorg-libXext xorg-libXfixes xorg-libXxf86vm"
11 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa \
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 cd $src
21 sed -i 's/-Werror//' configure
22 ./configure --prefix=/usr $CONFIGURE_ARGS
23 sed -i '/XF86VMODE/d' config.status
24 make
25 make DESTDIR=$src/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 strip -s $fs/usr/lib/*
34 }