wok view vacation/receipt @ rev 25045
Update some wget_url or web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 08:33:59 2022 +0000 (2022-06-04) |
parents | 922f061231c2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vacation"
4 VERSION="3.3.0"
5 CATEGORY="network"
6 TAGS="email"
7 SHORT_DESC="Automatic mail-answering program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.linux.it/~md/software/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}${PACKAGE}_$VERSION.tar.gz"
15 DEPENDS="gdbm"
16 BUILD_DEPENDS="db-dev gdbm-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|.tar.*||"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/uname -m/echo i386/' Makefile
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp $src/vacation $fs/usr/bin
37 }