SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "stellarium"

# 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"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.stellarium.org/"
WGET_URL="https://github.com/Stellarium/stellarium/archive/refs/tags/stellarium-${VERSION//./-}.tar.gz"

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 libdrm"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | sed '/latest/!d;s|.* is ||;s|<.*||;q'
}

# 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 $install/usr/bin $fs/usr
    cp -a $install/usr/share/stellarium $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)