wok-current annotate freeglut/receipt @ rev 15593
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 03 18:28:51 2013 +0000 (2013-12-03) |
parents | a2c3b45bfc8b |
children | 17e313b5b9c1 |
rev | line source |
---|---|
wcnagel@1054 | 1 # SliTaz package receipt. |
wcnagel@1054 | 2 |
wcnagel@1054 | 3 PACKAGE="freeglut" |
slaxemulator@6334 | 4 VERSION="2.6.0" |
pascal@1423 | 5 CATEGORY="x-window" |
wcnagel@1054 | 6 SHORT_DESC="OpenGL utility toolkit." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
pascal@15593 | 8 LICENSE="GPL" |
pascal@15593 | 9 SUGGESTED="nvidia" |
pascal@15593 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15593 | 11 WEB_SITE="http://freeglut.sourceforge.net/" |
pascal@15593 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15593 | 13 |
pascal@13794 | 14 DEPENDS="glibc-base libdrm mesa libglu-mesa \ |
rcx@3696 | 15 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ |
jozee@5018 | 16 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" |
pascal@13792 | 17 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \ |
slaxemulator@6334 | 18 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev xorg-libXfixes-dev xorg-libXxf86vm-dev libxcb-dev" |
wcnagel@1054 | 19 |
wcnagel@1054 | 20 # Rules to configure and make the package. |
wcnagel@1054 | 21 compile_rules() |
wcnagel@1054 | 22 { |
pascal@12653 | 23 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12653 | 24 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12653 | 25 |
rcx@3701 | 26 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi |
rcx@3701 | 27 |
wcnagel@1054 | 28 cd $src |
slaxemulator@6334 | 29 # fixes an issue with the radeon[hd] ATI opensource drivers |
slaxemulator@6334 | 30 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163 |
slaxemulator@9700 | 31 patch -p0 -i $stuff/2.6.0-GFX_radeon.patch |
rcx@3701 | 32 # sed -i 's/-Werror//' configure |
rcx@3701 | 33 ./configure \ |
rcx@3701 | 34 --prefix=/usr \ |
rcx@3701 | 35 $CONFIGURE_ARGS && |
rcx@3701 | 36 # sed -i '/XF86VMODE/d' config.status |
rcx@3701 | 37 make && |
pascal@13792 | 38 make DESTDIR=$DESTDIR install |
wcnagel@1054 | 39 } |
wcnagel@1054 | 40 |
wcnagel@1054 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 42 genpkg_rules() |
wcnagel@1054 | 43 { |
wcnagel@1054 | 44 mkdir -p $fs/usr/lib |
pascal@13792 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 46 } |