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