wok annotate aspell-pt_BR/receipt @ rev 25363
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 08:19:17 2022 +0000 (2022-07-28) |
parents | 095836df71b7 |
children | c3a6f662a1c1 |
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@24340 | 24 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;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 } |