wok-next annotate freeglut/receipt @ rev 3696
Update: freeglut (DEPENDS and BUILD_DEPENDS)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 16 15:19:49 2009 +0000 (2009-07-16) |
parents | 88bf5a2b55c3 |
children | b149cd5f40d0 |
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" |
rcx@3696 | 8 DEPENDS="glibc-base gcc-lib-base libdrm libgl libglu \ |
rcx@3696 | 9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ |
rcx@3696 | 10 xorg-libXext xorg-libXfixes xorg-libXxf86vm" |
rcx@3696 | 11 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa \ |
rcx@3696 | 12 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" |
rcx@3696 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
wcnagel@1054 | 14 WEB_SITE="http://freeglut.sourceforge.net/" |
rcx@3696 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
wcnagel@1054 | 16 |
wcnagel@1054 | 17 # Rules to configure and make the package. |
wcnagel@1054 | 18 compile_rules() |
wcnagel@1054 | 19 { |
wcnagel@1054 | 20 cd $src |
wcnagel@1054 | 21 sed -i 's/-Werror//' configure |
wcnagel@1054 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS |
wcnagel@1054 | 23 sed -i '/XF86VMODE/d' config.status |
wcnagel@1054 | 24 make |
wcnagel@1054 | 25 make DESTDIR=$src/_pkg install |
wcnagel@1054 | 26 } |
wcnagel@1054 | 27 |
wcnagel@1054 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 29 genpkg_rules() |
wcnagel@1054 | 30 { |
wcnagel@1054 | 31 mkdir -p $fs/usr/lib |
wcnagel@1054 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 33 strip -s $fs/usr/lib/* |
wcnagel@1054 | 34 } |