wok-6.x annotate aspell-cs/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (20 months ago) |
parents | 5f6c5106b1f5 |
children |
rev | line source |
---|---|
erjo@4716 | 1 # SliTaz package receipt. |
erjo@4716 | 2 |
erjo@4716 | 3 PACKAGE="aspell-cs" |
Hans-G?nter@24327 | 4 VERSION="20040614.1" |
erjo@4716 | 5 CATEGORY="system-tools" |
erjo@4716 | 6 SHORT_DESC="Czech aspell dictionary." |
erjo@4716 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15361 | 8 LICENSE="GPL2" |
pascal@25539 | 9 WEB_SITE="https://ftp.gnu.org/gnu/aspell/dict/0index.html" |
Hans-G?nter@24327 | 10 |
erjo@4716 | 11 SOURCE="aspell6-cs" |
Hans-G?nter@24327 | 12 TARBALL="$SOURCE-${VERSION%.*}-${VERSION##*.}.tar.bz2" |
pascal@25539 | 13 WGET_URL="https://ftp.gnu.org/gnu/aspell/dict/cs/$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@24326 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24340 | 22 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" |
pascal@24326 | 23 } |
pascal@24326 | 24 |
erjo@4716 | 25 # Rules to configure and make the package. |
erjo@4716 | 26 compile_rules() |
erjo@4716 | 27 { |
Hans-G?nter@24327 | 28 ./configure && |
Hans-G?nter@24327 | 29 make && |
Hans-G?nter@24327 | 30 make install DESTDIR=$DESTDIR |
erjo@4716 | 31 } |
erjo@4716 | 32 |
erjo@4716 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4716 | 34 genpkg_rules() |
erjo@4716 | 35 { |
Hans-G?nter@24327 | 36 cook_copy_folders lib |
erjo@4716 | 37 } |