wok-current annotate vacation/receipt @ rev 25586

Fix linux build with gcc > 6 again
author Stanislas Leduc <shann@slitaz.org>
date Mon May 29 12:23:26 2023 +0000 (19 months ago)
parents 922f061231c2
children
rev   line source
pascal@2244 1 # SliTaz package receipt.
pascal@2244 2
pascal@2244 3 PACKAGE="vacation"
Hans-G?nter@22092 4 VERSION="3.3.0"
pascal@2244 5 CATEGORY="network"
Hans-G?nter@22092 6 TAGS="email"
Hans-G?nter@22092 7 SHORT_DESC="Automatic mail-answering program."
pascal@2244 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 9 LICENSE="GPL2"
pascal@24807 10 WEB_SITE="https://www.linux.it/~md/software/"
Hans-G?nter@22092 11
pascal@2244 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22092 13 WGET_URL="${WEB_SITE}${PACKAGE}_$VERSION.tar.gz"
pascal@15363 14
pascal@2244 15 DEPENDS="gdbm"
Hans-G?nter@22092 16 BUILD_DEPENDS="db-dev gdbm-dev"
pascal@2244 17
pascal@24304 18 # What is the latest version available today?
pascal@24304 19 current_version()
pascal@24304 20 {
pascal@24304 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24304 22 sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|.tar.*||"
pascal@24304 23 }
pascal@24304 24
pascal@2244 25 # Rules to configure and make the package.
pascal@2244 26 compile_rules()
pascal@2244 27 {
pascal@2244 28 sed -i 's/uname -m/echo i386/' Makefile
pascal@2244 29 make
pascal@2244 30 }
pascal@2244 31
pascal@2244 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2244 33 genpkg_rules()
pascal@2244 34 {
pascal@2244 35 mkdir -p $fs/usr/bin
pascal@2244 36 cp $src/vacation $fs/usr/bin
pascal@2244 37 }