wok-stable annotate freeglut/receipt @ rev 1325
Add chillispot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 29 10:16:41 2008 +0000 (2008-08-29) |
parents | |
children | 74c908326808 |
rev | line source |
---|---|
wcnagel@1054 | 1 # SliTaz package receipt. |
wcnagel@1054 | 2 |
wcnagel@1054 | 3 PACKAGE="freeglut" |
wcnagel@1054 | 4 VERSION="2.4.0" |
wcnagel@1054 | 5 CATEGORY="x-windows" |
wcnagel@1054 | 6 SHORT_DESC="OpenGL utility toolkit." |
wcnagel@1054 | 7 MAINTAINER="wcnagel" |
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 |
wcnagel@1054 | 15 DEPENDS="xorg" |
wcnagel@1054 | 16 BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev" |
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 } |