wok rev 3804
Add xplanet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 05 13:38:51 2009 +0200 (2009-08-05) |
parents | 9d389e407e19 |
children | 3f03fb00b58b |
files | xplanet/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xplanet/receipt Wed Aug 05 13:38:51 2009 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xplanet" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Render major planets into the X root window." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://xplanet.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 +DEPENDS="perl jpeg libpng zlib tiff xorg-libX11 freetype pango fontconfig \ 1.15 +glib xorg-libXau xorg-libXdmcp expat" 1.16 +BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev zlib-dev tiff-dev \ 1.17 +xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \ 1.18 +xorg-libXau-dev xorg-libXdmcp-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && 1.25 + make && 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share 1.33 + cp -a $_pkg/usr/share/xplanet $fs/usr/share 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 +} 1.36 +