wok annotate aspell-pt_PT/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 095836df71b7
children c3a6f662a1c1
rev   line source
paul@2112 1 # SliTaz package receipt.
paul@2112 2
paul@2112 3 PACKAGE="aspell-pt_PT"
Hans-G?nter@22503 4 VERSION="20190329.1.0"
paul@2112 5 CATEGORY="system-tools"
paul@2112 6 SHORT_DESC="Portuguese aspell dictionary."
paul@2112 7 MAINTAINER="paul@slitaz.org"
pascal@15361 8 LICENSE="GPL2"
Hans-G?nter@22503 9 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
Hans-G?nter@22503 10
paul@2112 11 SOURCE="aspell6-pt_PT"
Hans-G?nter@22503 12 TARBALL="$SOURCE-${VERSION//./-}.tar.bz2"
paul@2112 13 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/pt_PT/$TARBALL"
paul@2112 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
paul@2112 25 # Rules to configure and make the package.
paul@2112 26 compile_rules()
paul@2112 27 {
Hans-G?nter@22503 28 ./configure &&
Hans-G?nter@22503 29 make &&
Hans-G?nter@22503 30 make DESTDIR=$DESTDIR install
paul@2112 31 }
paul@2112 32
paul@2112 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2112 34 genpkg_rules()
paul@2112 35 {
paul@2112 36 mkdir -p $fs/usr/lib
Hans-G?nter@22503 37 cp -a $install/usr/lib/* $fs/usr/lib
paul@2112 38 }