wok-next view freeglut/receipt @ rev 20405

Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.

js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 17:39:40 2017 +0200 (2017-12-07)
parents 17e313b5b9c1
children 7639f09792cf
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="2.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://freeglut.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base libdrm mesa libglu-mesa \
15 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
16 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
17 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \
18 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \
19 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev xorg-libXfixes-dev \
20 xorg-libXxf86vm-dev libxcb-dev expat-dev xorg-libxshmfence-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
28 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
30 cd $src
31 # fixes an issue with the radeon[hd] ATI opensource drivers
32 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
33 patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
34 # sed -i 's/-Werror//' configure
35 ./configure \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 # sed -i '/XF86VMODE/d' config.status
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }