wok-6.x annotate freeglut/receipt @ rev 5001

[f-g]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 15:33:01 2010 +0100 (2010-02-28)
parents b149cd5f40d0
children 19dad1e8892c
rev   line source
wcnagel@1054 1 # SliTaz package receipt.
wcnagel@1054 2
wcnagel@1054 3 PACKAGE="freeglut"
rcx@3701 4 VERSION="2.6.0-rc1"
pascal@1423 5 CATEGORY="x-window"
wcnagel@1054 6 SHORT_DESC="OpenGL utility toolkit."
b1+slitaz@1802 7 MAINTAINER="b1+slitaz@nagel.org"
rcx@3701 8 DEPENDS="glibc-base libdrm libgl \
rcx@3696 9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
pascal@5001 10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm nvidia"
rcx@3701 11 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \
rcx@3696 12 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
rcx@3696 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
wcnagel@1054 14 WEB_SITE="http://freeglut.sourceforge.net/"
rcx@3696 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
wcnagel@1054 16
wcnagel@1054 17 # Rules to configure and make the package.
wcnagel@1054 18 compile_rules()
wcnagel@1054 19 {
rcx@3701 20 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
rcx@3701 21
wcnagel@1054 22 cd $src
rcx@3701 23 # sed -i 's/-Werror//' configure
rcx@3701 24 ./configure \
rcx@3701 25 --prefix=/usr \
rcx@3701 26 $CONFIGURE_ARGS &&
rcx@3701 27 # sed -i '/XF86VMODE/d' config.status
rcx@3701 28 make &&
wcnagel@1054 29 make DESTDIR=$src/_pkg install
wcnagel@1054 30 }
wcnagel@1054 31
wcnagel@1054 32 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1054 33 genpkg_rules()
wcnagel@1054 34 {
wcnagel@1054 35 mkdir -p $fs/usr/lib
wcnagel@1054 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
wcnagel@1054 37 strip -s $fs/usr/lib/*
wcnagel@1054 38 }