wok-6.x annotate aspell-nl/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 191b99ca9dc2
children 41a5254285d8
rev   line source
paul@7225 1 # SliTaz package receipt.
paul@7225 2
paul@7225 3 PACKAGE="aspell-nl"
paul@7225 4 VERSION="0.50-2"
paul@7225 5 CATEGORY="system-tools"
paul@7225 6 SHORT_DESC="Dutch aspell dictionary."
paul@7225 7 MAINTAINER="paul@slitaz.org"
pascal@15361 8 LICENSE="GPL"
paul@7225 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@7225 10 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
paul@7225 11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/nl/$TARBALL"
paul@7225 12
pascal@15361 13 DEPENDS="aspell"
pascal@15361 14 BUILD_DEPENDS="aspell aspell-dev"
pascal@15361 15
pascal@24326 16 # What is the latest version available today?
pascal@24326 17 current_version()
pascal@24326 18 {
pascal@24326 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24326 20 sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24326 21 }
pascal@24326 22
paul@7225 23 # Rules to configure and make the package.
paul@7225 24 compile_rules()
paul@7225 25 {
paul@7225 26 ./configure && \
pascal@15361 27 make && make DESTDIR=$DESTDIR install
paul@7225 28 }
paul@7225 29
paul@7225 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7225 31 genpkg_rules()
paul@7225 32 {
paul@7225 33 mkdir -p $fs/usr
pascal@15361 34 cp -a $install/usr/lib $fs/usr
paul@7225 35 }