wok view dtach/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 370da83187ab
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="dtach"
4 VERSION="0.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Emulates the detach feature of screen."
7 MAINTAINER="christophe.paris@free.fr"
8 LICENSE="GPL2"
9 WEB_SITE="https://dtach.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.sourceforge.net/dtach/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/dtach/files/dtach/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/dtach/||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make || return 1
31 # no install rules, let's do it by hand
32 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
33 cp dtach $DESTDIR/usr/bin
34 cp dtach.1 $DESTDIR/usr/share/man/man1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 cp -a $install/usr/bin $fs/usr
42 }