wok view xscreensaver/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | 55606cf026f1 |
children | 4ae824d5869c |
line source
1 # SliTaz package receipt.
3 PACKAGE="xscreensaver"
4 VERSION="5.44"
5 CATEGORY="x-window"
6 SHORT_DESC="A collection of free screen savers."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.jwz.org/xscreensaver/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="bc gdk-pixbuf-dev gtk+-dev jpeg-dev libglade-dev
16 libxml2-dev mesa-dev xorg-libX11-dev xorg-libXext-dev
17 xorg-libXi-dev xorg-libXinerama-dev xorg-libXmu-dev
18 xorg-libXpm-dev xorg-libXrandr-dev xorg-libXt-dev
19 xorg-libXxf86vm-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://en.wikipedia.org/wiki/XScreenSaver 2>/dev/null | \
25 sed '/Stable release/!d;s|.*">||'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0 gdk-pixbuf-xlib-2.0 gl)"
33 ./configure $CONFIGURE_ARGS &&
34 make &&
35 make install_prefix=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }