wok annotate stellarium/receipt @ rev 14291

Up: evas-dev (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:02:42 2013 +0200 (2013-04-07)
parents 6b09507225ec
children 380ffe05937a
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
pascal@13796 12 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql \
pascal@13796 13 libQtNetwork libQtGui zlib"
pascal@13796 14 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev \
monghitri@13992 15 qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev libdrm"
slaxemulator@11002 16
slaxemulator@6526 17 # Rules to configure and make the package.
slaxemulator@6526 18 compile_rules()
slaxemulator@6526 19 {
slaxemulator@6526 20 cd $src
slaxemulator@6526 21 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
slaxemulator@8640 22 make
slaxemulator@11002 23 make DESTDIR=$DESTDIR install
slaxemulator@6526 24 }
slaxemulator@6526 25
slaxemulator@6526 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6526 27 genpkg_rules()
slaxemulator@6526 28 {
slaxemulator@6526 29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
pascal@13796 30 cp -a $install/usr/bin $fs/usr
pascal@13796 31 cp -a $install/usr/share/stellarium $fs/usr/share
slaxemulator@6526 32 }