wok-stable view xplanet/receipt @ rev 11253
upx: Fixed ucl and upx to be more compatable with my wok-tank cooking branch and still be compatible with official cookutils.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 07 10:04:51 2011 +0000 (2011-11-07) |
parents | 413b0174114a |
children |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xplanet.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="perl jpeg libpng zlib tiff xorg-libX11 freetype pango fontconfig \
12 glib xorg-libXau xorg-libXdmcp expat giflib xorg-libXss gcc-lib-base \
13 util-linux-ng-uuid"
14 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev zlib-dev tiff-dev \
15 xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \
16 xorg-libXau-dev xorg-libXdmcp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Fix for gcc 4.4
23 for file in src/Satellite.cpp src/Separation.cpp ; do
24 grep -q cstdio $file || sed -i '2i\#include <cstdio>' $file
25 done
26 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make -j1 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/share/xplanet $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 }