wok-6.x annotate libsieve/receipt @ rev 25258

qt5: modified WGET_URL
author Hans-G?nter Theisgen
date Fri Jul 15 07:00:31 2022 +0100 (2022-07-15)
parents adbdcada3730
children
rev   line source
pascal@18458 1 # SliTaz package receipt.
pascal@18458 2
pascal@18458 3 PACKAGE="libsieve"
pascal@18458 4 VERSION="2.3.1"
pascal@18458 5 CATEGORY="network"
pascal@18458 6 SHORT_DESC="A library for parsing, sorting and filtering your mail."
pascal@18458 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18458 8 LICENSE="LGPL2.1"
pascal@18458 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21203 10 WEB_SITE="https://github.com/sodabrew/libsieve"
pascal@18458 11 WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL"
pascal@18458 12
pascal@18458 13 BUILD_DEPENDS="wget"
pascal@18458 14
pascal@24497 15 # What is the latest version available today?
pascal@24497 16 current_version()
pascal@24497 17 {
pascal@24497 18 wget -O - https://github.com/sodabrew/libsieve/commits/libsieve-2.3 2>/dev/null | \
pascal@24497 19 sed '/Version/!d;s|.* \([0-9]\)|\1|;s|<.*||;q'
pascal@24497 20 }
pascal@24497 21
pascal@18458 22 # Rules to configure and make the package.
pascal@18458 23 compile_rules()
pascal@18458 24 {
pascal@18458 25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@18458 26 make &&
pascal@18458 27 make DESTDIR=$DESTDIR install
pascal@18458 28 }
pascal@18458 29
pascal@18458 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18458 31 genpkg_rules()
pascal@18458 32 {
pascal@18458 33 mkdir -p $fs/usr/lib
pascal@18458 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18458 35 }