wok view gtkspell/receipt @ rev 25618
Update get-pcem-roms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 28 14:28:52 2023 +0000 (14 months ago) |
parents | 4c101652eb90 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkspell"
4 VERSION="2.0.16"
5 CATEGORY="development"
6 SHORT_DESC="provides highlighting and replacement of misspelled words"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://gtkspell.sourceforge.net"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 DEPENDS="cairo enchant gtk+"
15 BUILD_DEPENDS="enchant-dev expat-dev gtk+-dev pkg-config"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/gtkspell/files/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/gtkspell/files/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 }