wok-current annotate mesa-demos/receipt @ rev 15604
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:58:19 2013 +0000 (2013-12-06) |
parents | 6b09507225ec |
children | 8873e661671a |
rev | line source |
---|---|
pankso@4421 | 1 # SliTaz package receipt. |
pankso@4421 | 2 |
pankso@4421 | 3 PACKAGE="mesa-demos" |
gokhlayeh@6993 | 4 VERSION="8.0.1" |
pankso@4421 | 5 CATEGORY="development" |
pankso@4421 | 6 SHORT_DESC="Mesa GLX demos progs." |
pankso@4421 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@4421 | 8 WEB_SITE="http://www.mesa3d.org/" |
gokhlayeh@6993 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@6993 | 10 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL" |
gokhlayeh@6993 | 11 |
pascal@13796 | 12 DEPENDS="glew" |
pascal@13810 | 13 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config udev-dev" |
pascal@13796 | 14 |
gokhlayeh@6993 | 15 # Rules to configure and make the package. |
gokhlayeh@6993 | 16 compile_rules() |
gokhlayeh@6993 | 17 { |
gokhlayeh@6993 | 18 cd $src |
pascal@12761 | 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12761 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
gokhlayeh@6993 | 21 ./configure \ |
gokhlayeh@6993 | 22 --prefix=/usr \ |
gokhlayeh@6993 | 23 $CONFIGURE_ARGS && |
gokhlayeh@6993 | 24 make && |
pascal@13796 | 25 make DESTDIR=$DESTDIR install |
gokhlayeh@6993 | 26 } |
pankso@4421 | 27 |
pankso@4421 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4421 | 29 genpkg_rules() |
pankso@4421 | 30 { |
pankso@4421 | 31 mkdir -p $fs/usr/bin |
pascal@13796 | 32 cp $install/usr/bin/glxinfo $fs/usr/bin |
pascal@13796 | 33 cp $install/usr/bin/glxgears $fs/usr/bin |
pankso@4421 | 34 } |