wok view xscreensaver/receipt @ rev 24809
created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:52:59 2022 +0100 (2022-03-22) |
parents | 1833b01b95ca |
children | 55606cf026f1 |
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="$WEB_SITE/$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 }