wok-6.x annotate aspell-pl/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 1a2b24bfa16d
children 429cd2dffc4f
rev   line source
paul@7201 1 # SliTaz package receipt.
paul@7201 2
paul@7201 3 PACKAGE="aspell-pl"
Hans-G?nter@22501 4 VERSION="6.0_20191230-0"
paul@7201 5 CATEGORY="system-tools"
paul@7201 6 SHORT_DESC="Polish aspell dictionary."
paul@7201 7 MAINTAINER="paul@slitaz.org"
pascal@15361 8 LICENSE="GPL LGPL CC-SA"
Hans-G?nter@22501 9 WEB_SITE="http://aspell.net/"
Hans-G?nter@22501 10
Hans-G?nter@22501 11 SOURCE="sjp-aspell6-pl"
paul@7201 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@22501 13 WGET_URL="https://sjp.pl/slownik/ort/$TARBALL"
paul@7201 14
pascal@15361 15 DEPENDS="aspell"
pascal@15361 16 BUILD_DEPENDS="aspell aspell-dev"
pascal@15361 17
pascal@24326 18 # What is the latest version available today?
pascal@24326 19 current_version()
pascal@24326 20 {
pascal@24326 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24326 22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24326 23 }
pascal@24326 24
paul@7201 25 # Rules to configure and make the package.
paul@7201 26 compile_rules()
paul@7201 27 {
Hans-G?nter@22501 28 ./configure &&
Hans-G?nter@22501 29 make &&
Hans-G?nter@22501 30 make DESTDIR=$DESTDIR install
paul@7201 31 }
paul@7201 32
paul@7201 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7201 34 genpkg_rules()
paul@7201 35 {
paul@7201 36 mkdir -p $fs/usr
Hans-G?nter@22501 37 cp -a $install/usr/lib $fs/usr
paul@7201 38 }