wok-4.x annotate stellarium/receipt @ rev 9664
busybox: ensure $stuff is set (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 12:51:33 2011 +0200 (2011-05-01) |
parents | 9935b7af8569 |
children | 107cbd2c6157 |
rev | line source |
---|---|
slaxemulator@6526 | 1 # SliTaz package receipt. |
slaxemulator@6526 | 2 |
slaxemulator@6526 | 3 PACKAGE="stellarium" |
slaxemulator@8412 | 4 VERSION="0.10.6" |
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@8640 | 11 WEB_SITE="http://www.stellarium.org/" |
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@8640 | 19 make |
slaxemulator@8640 | 20 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 |
pascal@8974 | 29 cp -a $stuff/stellarium.png $fs/usr/share/pixmaps |
pascal@8974 | 30 cp -a $stuff/stellarium.desktop $fs/usr/share/applications |
slaxemulator@6526 | 31 } |
slaxemulator@6526 | 32 |