wok-6.x annotate aspell-it/receipt @ rev 24794
Up dhcp (4.4.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 15:36:41 2022 +0000 (2022-03-21) |
parents | 095836df71b7 |
children | c3a6f662a1c1 |
rev | line source |
---|---|
erjo@4716 | 1 # SliTaz package receipt. |
erjo@4716 | 2 |
erjo@4716 | 3 PACKAGE="aspell-it" |
Hans-G?nter@22500 | 4 VERSION="2.4-20070901-0" |
erjo@4716 | 5 CATEGORY="system-tools" |
erjo@4716 | 6 SHORT_DESC="Italian aspell dictionary." |
erjo@4716 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
pascal@24326 | 9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" |
Hans-G?nter@22499 | 10 |
erjo@4716 | 11 SOURCE="aspell6-it" |
erjo@4716 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22499 | 13 WGET_URL="$SF_MIRROR/linguistico/$TARBALL" |
erjo@4716 | 14 |
pascal@15361 | 15 DEPENDS="aspell" |
pascal@15361 | 16 BUILD_DEPENDS="aspell aspell-dev" |
pascal@15361 | 17 |
pascal@24326 | 18 # What is the latest version available today? |
pascal@24326 | 19 current_version() |
pascal@24326 | 20 { |
pascal@24384 | 21 wget -O - 'https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20Aspell/' 2>/dev/null | \ |
pascal@24384 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24384 | 23 sed '/scope="row/!d;s|.*/Dizionario%20italiano%20per%20Aspell/||;s|/.*||;q' |
pascal@24326 | 24 } |
pascal@24326 | 25 |
erjo@4716 | 26 # Rules to configure and make the package. |
erjo@4716 | 27 compile_rules() |
erjo@4716 | 28 { |
Hans-G?nter@22499 | 29 ./configure && |
Hans-G?nter@22499 | 30 make && |
Hans-G?nter@22499 | 31 make DESTDIR=$DESTDIR install |
erjo@4716 | 32 } |
erjo@4716 | 33 |
erjo@4716 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4716 | 35 genpkg_rules() |
erjo@4716 | 36 { |
erjo@4716 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22499 | 38 cp -a $install/usr/lib/* $fs/usr/lib |
erjo@4716 | 39 } |