wok annotate xautolock/receipt @ rev 24808
updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:29:00 2022 +0100 (2022-03-22) |
parents | 657de15e76fb |
children |
rev | line source |
---|---|
pascal@20049 | 1 # SliTaz package receipt. |
pascal@20049 | 2 |
pascal@20049 | 3 PACKAGE="xautolock" |
pascal@20049 | 4 VERSION="2.2" |
pascal@20049 | 5 CATEGORY="x-window" |
pascal@20050 | 6 SHORT_DESC="Program launcher for idle X sessions." |
pascal@20049 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20049 | 8 LICENSE="GPL2" |
pascal@20049 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20049 | 10 WEB_SITE="https://www.ibiblio.org/pub/linux/X11/" |
pascal@20050 | 11 WGET_URL="${WEB_SITE}screensavers/$TARBALL" |
pascal@20049 | 12 |
pascal@20050 | 13 DEPENDS="xorg-libXss libxcb xlockmore" |
pascal@20049 | 14 BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-dev" |
pascal@20049 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 21 } |
pascal@24433 | 22 |
pascal@20049 | 23 # Rules to configure and make the package. |
pascal@20049 | 24 compile_rules() |
pascal@20049 | 25 { |
pascal@20049 | 26 xmkmf && |
pascal@20049 | 27 make && |
pascal@20049 | 28 make DESTDIR=$DESTDIR install |
pascal@20049 | 29 } |
pascal@20049 | 30 |
pascal@20049 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20049 | 32 genpkg_rules() |
pascal@20049 | 33 { |
pascal@20049 | 34 mkdir -p $fs/usr $install/usr/share/man $install/usr/share/doc |
pascal@20049 | 35 cp -a $src/Readme $install/usr/share/doc |
pascal@20049 | 36 cp -a $src/xautolock.man $install/usr/share/man |
pascal@20050 | 37 chmod a+r $install/usr/share/*/* |
pascal@20049 | 38 cp -a $install/usr/bin $fs/usr |
pascal@20049 | 39 } |