wok annotate xscreensaver/receipt @ rev 25694
dropbear: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 14:12:01 2024 +0000 (6 months ago) |
parents | 6a41c533bf52 |
children |
rev | line source |
---|---|
pascal@14377 | 1 # SliTaz package receipt. |
pascal@14377 | 2 |
pascal@14377 | 3 PACKAGE="xscreensaver" |
shann@25629 | 4 VERSION="5.45" |
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 |
shann@25629 | 14 BUILD_DEPENDS="bc gdk-pixbuf-dev gtk+-dev jpeg-dev |
shann@25629 | 15 libglade-dev libxml2-dev mesa-dev xorg-libX11-dev |
shann@25629 | 16 xorg-libXext-dev xorg-libXi-dev xorg-libXinerama-dev |
shann@25629 | 17 xorg-libXmu-dev xorg-libXpm-dev xorg-libXrandr-dev |
shann@25629 | 18 xorg-libXt-dev xorg-libXxf86vm-dev" |
pascal@14377 | 19 |
pascal@24565 | 20 # What is the latest version available today? |
pascal@24565 | 21 current_version() |
pascal@24565 | 22 { |
pascal@24565 | 23 wget -O - https://en.wikipedia.org/wiki/XScreenSaver 2>/dev/null | \ |
pascal@24565 | 24 sed '/Stable release/!d;s|.*">||' |
pascal@24565 | 25 } |
pascal@24565 | 26 |
pascal@14377 | 27 # Rules to configure and make the package. |
pascal@14377 | 28 compile_rules() |
pascal@14377 | 29 { |
shann@25629 | 30 # Thanks Slackware for patch and have work xscreensaver |
shann@25629 | 31 export CFLAGS="$CFLAGS -std=gnu89" |
Hans-G?nter@22309 | 32 |
shann@25629 | 33 # Drop popup about version is old |
shann@25629 | 34 patch -p1 < $stuff/xscreensaver.no.expiration.date.diff |
shann@25629 | 35 # Patch for shadow |
shann@25629 | 36 patch -p1 < $stuff/xscreensaver.setuid.diff |
shann@25629 | 37 |
shann@25629 | 38 ./configure \ |
shann@25629 | 39 --with-shadow \ |
shann@25629 | 40 --with-jpeg \ |
shann@25629 | 41 --with-gl \ |
shann@25629 | 42 $CONFIGURE_ARGS && |
shann@25629 | 43 make && |
shann@25629 | 44 make install_prefix=$DESTDIR install |
shann@25629 | 45 |
shann@25629 | 46 # Need for password unlock |
shann@25629 | 47 chmod 2751 $install/usr/bin/xscreensaver |
pascal@14377 | 48 } |
pascal@14377 | 49 |
pascal@14377 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14377 | 51 genpkg_rules() |
pascal@14377 | 52 { |
Hans-G?nter@23781 | 53 cp -a $install/* $fs |
pascal@14377 | 54 } |