wok annotate freeglut/receipt @ rev 3674

Add ocsinventory-server
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 12:17:23 2009 +0200 (2009-07-11)
parents 67356fcbb83e
children 2db429fb192c
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."
b1+slitaz@1802 7 MAINTAINER="b1+slitaz@nagel.org"
b1+slitaz@1837 8 DEPENDS="xorg libgl libglu"
b1+slitaz@1837 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev mesa"
wcnagel@1054 10 TARBALL="freeglut-$VERSION.tar.gz"
wcnagel@1054 11 WEB_SITE="http://freeglut.sourceforge.net/"
wcnagel@1054 12 WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
wcnagel@1054 13
wcnagel@1054 14 # Rules to configure and make the package.
wcnagel@1054 15 compile_rules()
wcnagel@1054 16 {
wcnagel@1054 17 cd $src
wcnagel@1054 18 sed -i 's/-Werror//' configure
wcnagel@1054 19 ./configure --prefix=/usr $CONFIGURE_ARGS
wcnagel@1054 20 sed -i '/XF86VMODE/d' config.status
wcnagel@1054 21 make
wcnagel@1054 22 make DESTDIR=$src/_pkg install
wcnagel@1054 23 }
wcnagel@1054 24
wcnagel@1054 25 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1054 26 genpkg_rules()
wcnagel@1054 27 {
wcnagel@1054 28 mkdir -p $fs/usr/lib
wcnagel@1054 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
wcnagel@1054 30 strip -s $fs/usr/lib/*
wcnagel@1054 31 }