wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-pl"
4 VERSION="6.0_20191230-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Polish aspell dictionary."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL LGPL CC-SA"
9 WEB_SITE="http://aspell.net/"
11 SOURCE="sjp-aspell6-pl"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://sjp.pl/slownik/ort/$TARBALL"
15 DEPENDS="aspell"
16 BUILD_DEPENDS="aspell aspell-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }