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

Fix: icu packaging
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 21:26:53 2015 +0000 (2015-02-08)
parents 68ec33732967
children 0c04fc34847a
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"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@6526 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@8640 10 WEB_SITE="http://www.stellarium.org/"
slaxemulator@6526 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6526 12
pascal@13796 13 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql \
pascal@13796 14 libQtNetwork libQtGui zlib"
pascal@13796 15 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev \
monghitri@13992 16 qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev libdrm"
slaxemulator@11002 17
slaxemulator@6526 18 # Rules to configure and make the package.
slaxemulator@6526 19 compile_rules()
slaxemulator@6526 20 {
slaxemulator@6526 21 cd $src
slaxemulator@6526 22 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
slaxemulator@8640 23 make
slaxemulator@11002 24 make DESTDIR=$DESTDIR install
slaxemulator@6526 25 }
slaxemulator@6526 26
slaxemulator@6526 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6526 28 genpkg_rules()
slaxemulator@6526 29 {
slaxemulator@6526 30 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
pascal@13796 31 cp -a $install/usr/bin $fs/usr
pascal@13796 32 cp -a $install/usr/share/stellarium $fs/usr/share
slaxemulator@6526 33 }