wok-6.x annotate dtach/receipt @ rev 24493

updated dokuwiki (20180422b -> 20200729)
author Hans-G?nter Theisgen
date Sat Feb 19 11:02:17 2022 +0100 (2022-02-19)
parents 684b86356e87
children 7dd01dedad38
rev   line source
pascal@1688 1 # SliTaz package receipt.
pascal@1688 2
pascal@1688 3 PACKAGE="dtach"
Hans-G?nter@20855 4 VERSION="0.9"
pascal@1688 5 CATEGORY="system-tools"
pascal@1688 6 SHORT_DESC="Emulates the detach feature of screen."
pascal@1688 7 MAINTAINER="christophe.paris@free.fr"
pascal@15579 8 LICENSE="GPL2"
Hans-G?nter@20855 9 WEB_SITE="http://dtach.sourceforge.net/"
Hans-G?nter@20855 10
pascal@1688 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1688 12 WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL"
pascal@1688 13
pascal@24361 14 # What is the latest version available today?
pascal@24361 15 current_version()
pascal@24361 16 {
pascal@24361 17 wget -O - https://sourceforge.net/projects/dtach/files/dtach/ 2>/dev/null | \
pascal@24361 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 19 sed '/scope="row/!d;s|.*/dtach/||;s|/.*||;q'
pascal@24361 20 }
pascal@24361 21
pascal@1688 22 # Rules to configure and make the package.
pascal@1688 23 compile_rules()
pascal@1688 24 {
Hans-G?nter@20855 25 ./configure \
Hans-G?nter@20855 26 --prefix=/usr \
Hans-G?nter@20855 27 --infodir=/usr/share/info \
Hans-G?nter@20855 28 --mandir=/usr/share/man \
Hans-G?nter@20855 29 $CONFIGURE_ARGS &&
pascal@1688 30 make || return 1
pascal@1688 31 # no install rules, let's do it by hand
pascal@15579 32 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
pascal@15579 33 cp dtach $DESTDIR/usr/bin
pascal@15579 34 cp dtach.1 $DESTDIR/usr/share/man/man1
pascal@1688 35 }
pascal@1688 36
pascal@1688 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1688 38 genpkg_rules()
pascal@1688 39 {
pascal@1688 40 mkdir -p $fs/usr/bin
pascal@15579 41 cp -a $install/usr/bin $fs/usr
pascal@1688 42 }