wok-6.x annotate freeglut/receipt @ rev 3897
slitaz-loram-*: login needs libnss_files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 23:15:22 2009 +0200 (2009-08-14) |
parents | 2db429fb192c |
children | 9f19aee613be |
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 \ |
rcx@3701 | 10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" |
rcx@3701 | 11 BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \ |
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 { |
rcx@3701 | 20 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi |
rcx@3701 | 21 |
wcnagel@1054 | 22 cd $src |
rcx@3701 | 23 # sed -i 's/-Werror//' configure |
rcx@3701 | 24 ./configure \ |
rcx@3701 | 25 --prefix=/usr \ |
rcx@3701 | 26 $CONFIGURE_ARGS && |
rcx@3701 | 27 # sed -i '/XF86VMODE/d' config.status |
rcx@3701 | 28 make && |
wcnagel@1054 | 29 make DESTDIR=$src/_pkg install |
wcnagel@1054 | 30 } |
wcnagel@1054 | 31 |
wcnagel@1054 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 33 genpkg_rules() |
wcnagel@1054 | 34 { |
wcnagel@1054 | 35 mkdir -p $fs/usr/lib |
wcnagel@1054 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 37 strip -s $fs/usr/lib/* |
wcnagel@1054 | 38 } |