# SliTaz package receipt. PACKAGE="stellarium" VERSION="0.11.0" CATEGORY="games" SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects" MAINTAINER="slaxemulator@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.stellarium.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql libQtNetwork libQtGui zlib" BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev" # Rules to configure and make the package. compile_rules() { cd $src cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1 make make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/stellarium $fs/usr/share }