wok-current view xplanet/receipt @ rev 24285
updated slurm (0.3.3 -> 0.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 13:36:16 2022 +0100 (2022-01-13) |
parents | ad86373a4a8c |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xplanet"
4 VERSION="1.3.0"
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 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p1 < $stuff/xplanet-giflib5.patch
31 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make &&
33 make -j1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/share/xplanet $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 }