wok annotate billardgl/receipt @ rev 14511
Add rkhunter
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 13:54:46 2013 +0200 (2013-05-14) |
parents | 5189e691d619 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="billardgl" |
pascal@11217 | 4 VERSION="1.75" |
pascal@11217 | 5 CATEGORY="games" |
pascal@11217 | 6 SHORT_DESC="OpenGL billard game." |
pascal@11217 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11217 | 8 SOURCE="BillardGL" |
pascal@11217 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11217 | 10 WEB_SITE="http://www.billardgl.de/" |
pascal@11217 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11217 | 12 |
pascal@11217 | 13 DEPENDS="libglu-mesa freeglut" |
pascal@13794 | 14 BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \ |
pascal@13794 | 15 libglu-mesa-dev freeglut-dev" |
pascal@11217 | 16 |
pascal@11217 | 17 # Rules to configure and make the package. |
pascal@11217 | 18 compile_rules() |
pascal@11217 | 19 { |
pascal@11217 | 20 cd $src/src |
pascal@11217 | 21 sed -i 's/stream.h/stream/' bmp.cpp |
pascal@11217 | 22 grep -q namespace bmp.cpp || |
pascal@11217 | 23 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp |
pascal@11217 | 24 make || return 1 |
pascal@11217 | 25 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games |
pascal@11217 | 26 cp $src/src/BillardGL $DESTDIR/usr/games |
pascal@11217 | 27 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL |
pascal@11217 | 28 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL |
pascal@11217 | 29 cp -R $src/src/README $DESTDIR/usr/share/BillardGL |
pascal@11217 | 30 } |
pascal@11217 | 31 |
pascal@11217 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 33 genpkg_rules() |
pascal@11217 | 34 { |
pascal@11217 | 35 cp -a $_pkg/usr $fs |
pascal@11217 | 36 } |
pascal@11217 | 37 |