wok-current annotate aspell-sl/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 |
---|---|
erjo@4716 | 1 # SliTaz package receipt. |
erjo@4716 | 2 |
erjo@4716 | 3 PACKAGE="aspell-sl" |
erjo@4716 | 4 VERSION="0.50-0" |
erjo@4716 | 5 CATEGORY="system-tools" |
erjo@4716 | 6 SHORT_DESC="Slovenian aspell dictionary." |
erjo@4716 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
slaxemulator@9365 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4716 | 10 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" |
erjo@4716 | 11 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/sl/$TARBALL" |
erjo@4716 | 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 |
erjo@4716 | 23 # Rules to configure and make the package. |
erjo@4716 | 24 compile_rules() |
erjo@4716 | 25 { |
erjo@4716 | 26 ./configure && \ |
pascal@15361 | 27 make && make DESTDIR=$DESTDIR install |
erjo@4716 | 28 } |
erjo@4716 | 29 |
erjo@4716 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4716 | 31 genpkg_rules() |
erjo@4716 | 32 { |
erjo@4716 | 33 mkdir -p $fs/usr/lib |
pascal@15361 | 34 cp -a $install/usr/lib/* $fs/usr/lib |
erjo@4716 | 35 } |