wok-current annotate aspell-es/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 | 128aae84d74c |
children | 5f6c5106b1f5 |
rev | line source |
---|---|
paul@2110 | 1 # SliTaz package receipt. |
paul@2110 | 2 |
paul@2110 | 3 PACKAGE="aspell-es" |
slaxemulator@7385 | 4 VERSION="1.11" |
paul@2110 | 5 CATEGORY="system-tools" |
paul@2110 | 6 SHORT_DESC="Spanish aspell dictionary." |
paul@2110 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
paul@2110 | 9 SOURCE="aspell6-es" |
slaxemulator@7385 | 10 TARBALL="$SOURCE-$VERSION-2.tar.bz2" |
paul@2110 | 11 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" |
paul@2110 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/es/$TARBALL" |
pankso@16248 | 13 HOST_ARCH="i486 arm" |
paul@2110 | 14 |
pascal@15361 | 15 DEPENDS="aspell" |
pankso@16248 | 16 BUILD_DEPENDS="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 - $WEB_SITE 2>/dev/null | \ |
pascal@24326 | 22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24326 | 23 } |
pascal@24326 | 24 |
paul@2110 | 25 # Rules to configure and make the package. |
paul@2110 | 26 compile_rules() |
paul@2110 | 27 { |
pankso@16248 | 28 ./configure && |
pankso@16248 | 29 make && make install |
paul@2110 | 30 } |
paul@2110 | 31 |
paul@2110 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2110 | 33 genpkg_rules() |
paul@2110 | 34 { |
paul@2110 | 35 mkdir -p $fs/usr/lib |
pascal@15361 | 36 cp -a $install/usr/lib/* $fs/usr/lib |
paul@2110 | 37 } |