wok-current annotate xplanet/receipt @ rev 3804
Add xplanet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 05 13:38:51 2009 +0200 (2009-08-05) |
parents | |
children | 3f03fb00b58b |
rev | line source |
---|---|
pascal@3804 | 1 # SliTaz package receipt. |
pascal@3804 | 2 |
pascal@3804 | 3 PACKAGE="xplanet" |
pascal@3804 | 4 VERSION="1.2.1" |
pascal@3804 | 5 CATEGORY="system-tools" |
pascal@3804 | 6 SHORT_DESC="Render major planets into the X root window." |
pascal@3804 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3804 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3804 | 9 WEB_SITE="http://xplanet.sourceforge.net/" |
pascal@3804 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3804 | 11 DEPENDS="perl jpeg libpng zlib tiff xorg-libX11 freetype pango fontconfig \ |
pascal@3804 | 12 glib xorg-libXau xorg-libXdmcp expat" |
pascal@3804 | 13 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev zlib-dev tiff-dev \ |
pascal@3804 | 14 xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \ |
pascal@3804 | 15 xorg-libXau-dev xorg-libXdmcp-dev" |
pascal@3804 | 16 |
pascal@3804 | 17 # Rules to configure and make the package. |
pascal@3804 | 18 compile_rules() |
pascal@3804 | 19 { |
pascal@3804 | 20 cd $src |
pascal@3804 | 21 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@3804 | 22 make && |
pascal@3804 | 23 make DESTDIR=$PWD/_pkg install |
pascal@3804 | 24 } |
pascal@3804 | 25 |
pascal@3804 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3804 | 27 genpkg_rules() |
pascal@3804 | 28 { |
pascal@3804 | 29 mkdir -p $fs/usr/share |
pascal@3804 | 30 cp -a $_pkg/usr/share/xplanet $fs/usr/share |
pascal@3804 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@3804 | 32 } |
pascal@3804 | 33 |