wok-6.x annotate stellarium/receipt @ rev 13839

lyx: add lyx.desktop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 10:01:39 2013 +0100 (2013-01-08)
parents 107cbd2c6157
children 68ec33732967
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 \
pascal@13796 15 qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev"
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 }