wok-next diff stellarium/receipt @ rev 8014
add garcon, agrcon-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:06:45 2011 +0100 (2011-01-20) |
parents | |
children | 81012e4f0f73 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/stellarium/receipt Thu Jan 20 02:06:45 2011 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="stellarium" 1.7 +VERSION="0.10.5" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql libQtNetwork libQtGui zlib" 1.12 +BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://steelarium.free.fr/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1 1.22 + make || return 1 1.23 + make && make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + cp -a $_pkg/usr/share/stellarium $fs/usr/share 1.32 + cp -a $WOK/$PACKAGE/stuff/stellarium.png $fs/usr/share/pixmaps 1.33 + cp -a $WOK/$PACKAGE/stuff/stellarium.desktop $fs/usr/share/applications 1.34 +} 1.35 +