wok-current view xplanet/receipt @ rev 16779

Add: slim-theme-sandfive; slim: apply default strings to ordinary themes.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 22 03:05:45 2014 +0300 (2014-06-22)
parents 73641efed1cc
children 8417cbe6fdae
line source
1 # SliTaz package receipt.
3 PACKAGE="xplanet"
4 VERSION="1.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Render major planets into the X root window."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xplanet.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="perl jpeg libpng zlib tiff xorg-libX11 freetype pango fontconfig \
14 glib xorg-libXau xorg-libXdmcp expat giflib xorg-libXss gcc-lib-base \
15 util-linux-uuid"
16 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev zlib-dev tiff-dev \
17 xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \
18 xorg-libXau-dev xorg-libXdmcp-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 # Fix for gcc 4.4
25 for file in src/Satellite.cpp src/Separation.cpp ; do
26 grep -q cstdio $file || sed -i '2i\#include <cstdio>' $file
27 done
28 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make -j1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/share/xplanet $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 }