wok-6.x view stellarium/receipt @ rev 6687

Up: libwebkit to 1.2.5. Added gobject-introspection-dev, tar, gettext, and webkit-r-dev to build depends. It needs libwebkit-1.0.la to compile itself. Tar is needed cause of --version is not in busybox tar.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 12 21:49:16 2010 +0000 (2010-10-12)
parents
children 81012e4f0f73
line source
1 # SliTaz package receipt.
3 PACKAGE="stellarium"
4 VERSION="0.10.5"
5 CATEGORY="games"
6 SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql libQtNetwork libQtGui zlib"
9 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://steelarium.free.fr/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
19 make || return 1
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/stellarium $fs/usr/share
29 cp -a $WOK/$PACKAGE/stuff/stellarium.png $fs/usr/share/pixmaps
30 cp -a $WOK/$PACKAGE/stuff/stellarium.desktop $fs/usr/share/applications
31 }