wok annotate masqmail/receipt @ rev 25203

updated python-mechanize (0.4.5 -> 0.4.7)
author Hans-G?nter Theisgen
date Wed Jul 13 14:23:19 2022 +0100 (2022-07-13)
parents 11bdc6e2a324
children
rev   line source
pascal@5967 1 # SliTaz package receipt.
pascal@5967 2
pascal@5967 3 PACKAGE="masqmail"
Hans-G?nter@21420 4 VERSION="0.3.5"
pascal@5967 5 CATEGORY="network"
Hans-G?nter@21420 6 TAGS="mail"
Hans-G?nter@21420 7 SHORT_DESC="A mail transfer agent for workstations and servers in small networks."
pascal@5967 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@21420 10 WEB_SITE="http://marmaro.de/prog/masqmail/"
Hans-G?nter@21420 11
pascal@5967 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21420 13 WGET_URL="${WEB_SITE}files/$TARBALL"
pascal@15000 14
Hans-G?nter@21420 15 BUILD_DEPENDS="glib glib-dev pkg-config"
pascal@5967 16
pascal@24427 17 # What is the latest version available today?
pascal@24427 18 current_version()
pascal@24427 19 {
pascal@24427 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 22 }
pascal@24427 23
pascal@5967 24 # Rules to configure and make the package.
pascal@5967 25 compile_rules()
pascal@5967 26 {
Hans-G?nter@21420 27 ./configure \
Hans-G?nter@21420 28 --prefix=/usr \
Hans-G?nter@21420 29 --infodir=/usr/share/info \
Hans-G?nter@21420 30 --with-user=root \
Hans-G?nter@21420 31 --with-group=root \
Hans-G?nter@21420 32 --mandir=/usr/share/man \
Hans-G?nter@21420 33 $CONFIGURE_ARGS &&
Hans-G?nter@21420 34 make -j 1 &&
pascal@15000 35 make DESTDIR=$DESTDIR install
pascal@5967 36 }
pascal@5967 37
pascal@5967 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5967 39 genpkg_rules()
pascal@5967 40 {
pascal@5967 41 mkdir -p $fs/usr/share
Hans-G?nter@21420 42
Hans-G?nter@21420 43 cp -a $install/usr/share/masqmail $fs/usr/share
Hans-G?nter@21420 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21420 45 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21420 46 cp -a $install/etc $fs
Hans-G?nter@21420 47 # cp -a $install/var $fs
pascal@5967 48 }