wok-stable annotate stellarium/receipt @ rev 7122
Up: dhcp to 4.2.0-P1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 04 17:17:26 2010 +0000 (2010-11-04) |
parents | |
children | 81012e4f0f73 |
rev | line source |
---|---|
slaxemulator@6526 | 1 # SliTaz package receipt. |
slaxemulator@6526 | 2 |
slaxemulator@6526 | 3 PACKAGE="stellarium" |
slaxemulator@6526 | 4 VERSION="0.10.5" |
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 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql libQtNetwork libQtGui zlib" |
slaxemulator@6526 | 9 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev" |
slaxemulator@6526 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6526 | 11 WEB_SITE="http://steelarium.free.fr/" |
slaxemulator@6526 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6526 | 13 |
slaxemulator@6526 | 14 # Rules to configure and make the package. |
slaxemulator@6526 | 15 compile_rules() |
slaxemulator@6526 | 16 { |
slaxemulator@6526 | 17 cd $src |
slaxemulator@6526 | 18 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1 |
slaxemulator@6526 | 19 make || return 1 |
slaxemulator@6526 | 20 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6526 | 21 } |
slaxemulator@6526 | 22 |
slaxemulator@6526 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6526 | 24 genpkg_rules() |
slaxemulator@6526 | 25 { |
slaxemulator@6526 | 26 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
slaxemulator@6526 | 27 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6526 | 28 cp -a $_pkg/usr/share/stellarium $fs/usr/share |
slaxemulator@6526 | 29 cp -a $WOK/$PACKAGE/stuff/stellarium.png $fs/usr/share/pixmaps |
slaxemulator@6526 | 30 cp -a $WOK/$PACKAGE/stuff/stellarium.desktop $fs/usr/share/applications |
slaxemulator@6526 | 31 } |
slaxemulator@6526 | 32 |