wok-stable diff billardgl/receipt @ rev 12379
Up tinc (1.0.21), CVE-2013-1428: Stack-based buffer overflow fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 29 22:17:28 2013 +0200 (2013-04-29) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/billardgl/receipt Mon Apr 29 22:17:28 2013 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="billardgl" 1.7 +VERSION="1.75" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="OpenGL billard game." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="BillardGL" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.billardgl.de/" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="libglu-mesa freeglut" 1.17 +BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev freeglut-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/src 1.23 + sed -i 's/stream.h/stream/' bmp.cpp 1.24 + grep -q namespace bmp.cpp || 1.25 + sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp 1.26 + make || return 1 1.27 + mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games 1.28 + cp $src/src/BillardGL $DESTDIR/usr/games 1.29 + cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL 1.30 + cp -R $src/src/lang $DESTDIR/usr/share/BillardGL 1.31 + cp -R $src/src/README $DESTDIR/usr/share/BillardGL 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + cp -a $_pkg/usr $fs 1.38 +} 1.39 +