wok annotate freeglut/receipt @ rev 1609

Add ploticus
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:51:47 2008 +0000 (2008-10-19)
parents 03a799424aaa
children 67356fcbb83e
rev   line source
wcnagel@1054 1 # SliTaz package receipt.
wcnagel@1054 2
wcnagel@1054 3 PACKAGE="freeglut"
wcnagel@1054 4 VERSION="2.4.0"
pascal@1423 5 CATEGORY="x-window"
wcnagel@1054 6 SHORT_DESC="OpenGL utility toolkit."
pascal@1412 7 MAINTAINER="bill@nagel.org"
wcnagel@1054 8 TARBALL="freeglut-$VERSION.tar.gz"
wcnagel@1054 9 WEB_SITE="http://freeglut.sourceforge.net/"
wcnagel@1054 10 WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
wcnagel@1054 11
wcnagel@1054 12 # DEPENDS does not include mesa because libGL
wcnagel@1054 13 # might already be provided by a driver, and we do
wcnagel@1054 14 # not want mesa to clobber libGL
pascal@1516 15 DEPENDS="xorg mesa"
pascal@1516 16 BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev mesa"
wcnagel@1054 17
wcnagel@1054 18 # Rules to configure and make the package.
wcnagel@1054 19 compile_rules()
wcnagel@1054 20 {
wcnagel@1054 21 cd $src
wcnagel@1054 22 sed -i 's/-Werror//' configure
wcnagel@1054 23 ./configure --prefix=/usr $CONFIGURE_ARGS
wcnagel@1054 24 sed -i '/XF86VMODE/d' config.status
wcnagel@1054 25 make
wcnagel@1054 26 make DESTDIR=$src/_pkg install
wcnagel@1054 27 }
wcnagel@1054 28
wcnagel@1054 29 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1054 30 genpkg_rules()
wcnagel@1054 31 {
wcnagel@1054 32 mkdir -p $fs/usr/lib
wcnagel@1054 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
wcnagel@1054 34 strip -s $fs/usr/lib/*
wcnagel@1054 35 }