wok-current view vacation/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
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 }