wok annotate mesa-demos/receipt @ rev 23695

updated terminator (1.91 -> 1.92)
author Hans-G?nter Theisgen
date Mon Apr 27 07:35:16 2020 +0100 (2020-04-27)
parents 17e313b5b9c1
children 89c8d8b6cf48
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"
pascal@15610 8 LICENSE="MIT"
pascal@20669 9 WEB_SITE="https://www.mesa3d.org/"
gokhlayeh@6993 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@6993 11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL"
gokhlayeh@6993 12
pascal@13796 13 DEPENDS="glew"
pascal@13810 14 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config udev-dev"
pascal@13796 15
gokhlayeh@6993 16 # Rules to configure and make the package.
gokhlayeh@6993 17 compile_rules()
gokhlayeh@6993 18 {
gokhlayeh@6993 19 cd $src
pascal@12761 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
gokhlayeh@6993 22 ./configure \
gokhlayeh@6993 23 --prefix=/usr \
gokhlayeh@6993 24 $CONFIGURE_ARGS &&
gokhlayeh@6993 25 make &&
pascal@13796 26 make DESTDIR=$DESTDIR install
gokhlayeh@6993 27 }
pankso@4421 28
pankso@4421 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4421 30 genpkg_rules()
pankso@4421 31 {
pankso@4421 32 mkdir -p $fs/usr/bin
pascal@13796 33 cp $install/usr/bin/glxinfo $fs/usr/bin
pascal@13796 34 cp $install/usr/bin/glxgears $fs/usr/bin
pankso@4421 35 }