wok-current annotate stellarium/receipt @ rev 12378
Up: laptop-mode-tools to 1.60.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:23:48 2012 +0000 (2012-04-19) |
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 |