wok-current view gtkspell/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (2 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="automake libtool enchant-dev expat-dev gtk-doc \
16 gtk+-dev libxslt-dev docbook-xsl python3-pygments pkg-config"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/gtkspell/files/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/gtkspell/files/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # Patch to be build with enchant-2
32 # Thanks Pat :)
33 patch -p1 < $stuff/gtkspell.enchant-2.diff
35 gtkdocize
36 autoreconf -ivf
38 ./configure \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }