wok-current view xplanet/receipt @ rev 20279

8086tiny: fix DAA/DAS/shift opcodes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 23 13:08:29 2018 +0100 (2018-03-23)
parents 8417cbe6fdae
children ad86373a4a8c
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 # Fix for gcc 4.4
24 for file in src/Satellite.cpp src/Separation.cpp ; do
25 grep -q cstdio $file || sed -i '2i\#include <cstdio>' $file
26 done
27 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make -j1 DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/share/xplanet $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 }