wok-current view vacation/receipt @ rev 24807
Add fast-lzma2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 15:17:43 2022 +0000 (2022-03-22) |
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 }