wok view xplanet/receipt @ rev 4064
add libhangul libhangul-dev and nabi
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri Sep 11 09:13:37 2009 +0000 (2009-09-11) |
parents | 8f6f06772026 |
children | 413b0174114a |
line source
1 # SliTaz package receipt.
3 PACKAGE="xplanet"
4 VERSION="1.2.1"
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"
13 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev zlib-dev tiff-dev \
14 xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \
15 xorg-libXau-dev xorg-libXdmcp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Fix for gcc 4.4
22 for file in src/Satellite.cpp src/Separation.cpp ; do
23 grep -q cstdio $file || sed -i '2i\#include <cstdio>' $file
24 done
25 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/share/xplanet $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 }