wok-6.x view aspell-id/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 191b99ca9dc2 |
children | 41a5254285d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aspell-id"
4 VERSION="1.2-0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Indonesian aspell dictionary."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="aspell5-id"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
12 WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/id/$TARBALL"
14 DEPENDS="aspell"
15 BUILD_DEPENDS="aspell aspell-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure && \
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/* $fs/usr/lib
36 }