# SliTaz package receipt. PACKAGE="aspell-it" VERSION="2.4-20070901-0" CATEGORY="system-tools" SHORT_DESC="Italian aspell dictionary." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="https://ftp.gnu.org/gnu/aspell/dict/0index.html" SOURCE="aspell6-it" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/linguistico/$TARBALL" DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" # What is the latest version available today? current_version() { wget -O - 'https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20Aspell/' 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/Dizionario%20italiano%20per%20Aspell/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/* $fs/usr/lib }