wok-current annotate aspell-pt_BR/receipt @ rev 24336

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 18:19:21 2022 +0000 (2022-01-28)
parents 7585bf9ada8c
children 5f6c5106b1f5
rev   line source
paul@2111 1 # SliTaz package receipt.
paul@2111 2
paul@2111 3 PACKAGE="aspell-pt_BR"
Hans-G?nter@22502 4 VERSION="20131030.12.0"
paul@2111 5 CATEGORY="system-tools"
paul@2111 6 SHORT_DESC="Brazilian aspell dictionary."
paul@2111 7 MAINTAINER="paul@slitaz.org"
pascal@15361 8 LICENSE="LGPL2.1"
Hans-G?nter@22502 9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
Hans-G?nter@22502 10
paul@2111 11 SOURCE="aspell6-pt_BR"
Hans-G?nter@22502 12 TARBALL="$SOURCE-${VERSION//./-}.tar.bz2"
paul@2111 13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/pt_BR/$TARBALL"
paul@2111 14
pascal@15361 15 DEPENDS="aspell"
pankso@16248 16 BUILD_DEPENDS="aspell-dev"
pascal@15361 17
Hans-G?nter@22502 18 HOST_ARCH="i486 arm"
Hans-G?nter@22502 19
pascal@24326 20 # What is the latest version available today?
pascal@24326 21 current_version()
pascal@24326 22 {
pascal@24326 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24326 24 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24326 25 }
pascal@24326 26
paul@2111 27 # Rules to configure and make the package.
paul@2111 28 compile_rules()
paul@2111 29 {
pankso@16248 30 ./configure &&
Hans-G?nter@22502 31 make &&
Hans-G?nter@22502 32 make install
paul@2111 33 }
paul@2111 34
paul@2111 35 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2111 36 genpkg_rules()
paul@2111 37 {
paul@2111 38 mkdir -p $fs/usr/lib
Hans-G?nter@22502 39 cp -a $install/usr/lib/* $fs/usr/lib
paul@2111 40 }