wok annotate stellarium/receipt @ rev 12254

Up: slitaz-configs (4.9.1) - Last minute bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 10 13:54:27 2012 +0200 (2012-04-10)
parents 940b5937e496
children 6b09507225ec
rev   line source
slaxemulator@6526 1 # SliTaz package receipt.
slaxemulator@6526 2
slaxemulator@6526 3 PACKAGE="stellarium"
slaxemulator@11002 4 VERSION="0.11.0"
slaxemulator@6526 5 CATEGORY="games"
slaxemulator@6526 6 SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects"
slaxemulator@6526 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6526 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@8640 9 WEB_SITE="http://www.stellarium.org/"
slaxemulator@6526 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6526 11
slaxemulator@11002 12 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql libQtNetwork libQtGui zlib"
slaxemulator@11002 13 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev"
slaxemulator@11002 14
slaxemulator@6526 15 # Rules to configure and make the package.
slaxemulator@6526 16 compile_rules()
slaxemulator@6526 17 {
slaxemulator@6526 18 cd $src
slaxemulator@6526 19 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
slaxemulator@8640 20 make
slaxemulator@11002 21 make DESTDIR=$DESTDIR install
slaxemulator@6526 22 }
slaxemulator@6526 23
slaxemulator@6526 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6526 25 genpkg_rules()
slaxemulator@6526 26 {
slaxemulator@6526 27 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
slaxemulator@6526 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6526 29 cp -a $_pkg/usr/share/stellarium $fs/usr/share
slaxemulator@6526 30 }
slaxemulator@6526 31