wok-6.x annotate freeglut/receipt @ rev 1802
fixed email
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Wed Jan 26 00:55:11 2005 +0000 (2005-01-26) |
parents | 3f898e9b90bd |
children | 88bf5a2b55c3 |
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" |
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 } |