wok annotate freeglut/receipt @ rev 5136
Update fr pt locale pack
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 23 20:26:32 2010 +0100 (2010-03-23) |
parents | 9f19aee613be |
children | 6f535262c026 |
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 \ |
jozee@5018 | 10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" |
jozee@5018 | 11 SUGGESTED="nvidia" |
rcx@3701 | 12 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \ |
rcx@3696 | 13 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" |
rcx@3696 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
wcnagel@1054 | 15 WEB_SITE="http://freeglut.sourceforge.net/" |
rcx@3696 | 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
wcnagel@1054 | 17 |
wcnagel@1054 | 18 # Rules to configure and make the package. |
wcnagel@1054 | 19 compile_rules() |
wcnagel@1054 | 20 { |
rcx@3701 | 21 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi |
rcx@3701 | 22 |
wcnagel@1054 | 23 cd $src |
rcx@3701 | 24 # sed -i 's/-Werror//' configure |
rcx@3701 | 25 ./configure \ |
rcx@3701 | 26 --prefix=/usr \ |
rcx@3701 | 27 $CONFIGURE_ARGS && |
rcx@3701 | 28 # sed -i '/XF86VMODE/d' config.status |
rcx@3701 | 29 make && |
wcnagel@1054 | 30 make DESTDIR=$src/_pkg install |
wcnagel@1054 | 31 } |
wcnagel@1054 | 32 |
wcnagel@1054 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 34 genpkg_rules() |
wcnagel@1054 | 35 { |
wcnagel@1054 | 36 mkdir -p $fs/usr/lib |
wcnagel@1054 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 38 strip -s $fs/usr/lib/* |
wcnagel@1054 | 39 } |