wok view gitmail/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 932cd974e081
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="gitmail"
4 VERSION="0.4"
5 CATEGORY="network"
6 SHORT_DESC="Ghost In The Mail is a simple mail client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://gitmail.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gitmail/files/gitmail/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/gitmail/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
29 ./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
30 make &&
31 make DESTDIR=$DESTDIR \
32 gitmaildocdir=/usr/share/doc/GhostInTheMail \
33 install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }