wok view sylpheed/receipt @ rev 24462
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 16 21:07:01 2022 +0000 (2022-02-16) |
parents | fcb1de9af8f7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sylpheed"
4 VERSION="3.7.0"
5 CATEGORY="network"
6 TAGS="mail internet"
7 SHORT_DESC="Simple, lightweight but featureful, and easy-to-use e-mail client"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://sylpheed.sraoss.jp/en/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dotsrc.dl.osdn.net/osdn/sylpheed/68999/$TARBALL"
15 DEPENDS="gtk+ libffi libssl"
16 BUILD_DEPENDS="gtk+-dev openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sylpheed.sraoss.jp/en/download.html 2>/dev/null | \
22 sed '/sylpheed-[0-9]/!d;/tar..z/!d;s|.*ylpheed-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-gtkspell \
30 --disable-updatecheck \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 mkdir -p $fs/usr/share/applications
42 cp -a $stuff/applications/sylpheed*.desktop $fs/usr/share/applications
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }