wok-6.x annotate billardgl/receipt @ rev 17055
qt4: copied to added "qt4-base", ln -s sources, modified
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 21 03:34:29 2014 +0200 (2014-08-21) |
parents | a2c3b45bfc8b |
children | 6e8b1bcb30e2 |
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@15579 | 8 LICENSE="GPL2" |
pascal@11217 | 9 SOURCE="BillardGL" |
pascal@11217 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11217 | 11 WEB_SITE="http://www.billardgl.de/" |
pascal@11217 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11217 | 13 |
pascal@11217 | 14 DEPENDS="libglu-mesa freeglut" |
pascal@13794 | 15 BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \ |
pascal@13794 | 16 libglu-mesa-dev freeglut-dev" |
pascal@11217 | 17 |
pascal@11217 | 18 # Rules to configure and make the package. |
pascal@11217 | 19 compile_rules() |
pascal@11217 | 20 { |
pascal@11217 | 21 cd $src/src |
pascal@11217 | 22 sed -i 's/stream.h/stream/' bmp.cpp |
pascal@11217 | 23 grep -q namespace bmp.cpp || |
pascal@11217 | 24 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp |
pascal@11217 | 25 make || return 1 |
pascal@11217 | 26 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games |
pascal@11217 | 27 cp $src/src/BillardGL $DESTDIR/usr/games |
pascal@11217 | 28 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL |
pascal@11217 | 29 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL |
pascal@11217 | 30 cp -R $src/src/README $DESTDIR/usr/share/BillardGL |
pascal@11217 | 31 } |
pascal@11217 | 32 |
pascal@11217 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 34 genpkg_rules() |
pascal@11217 | 35 { |
pascal@15579 | 36 cp -a $install/usr $fs |
pascal@11217 | 37 } |
pascal@11217 | 38 |