wok-6.x view geany-plugins/receipt @ rev 24572
updated freetds and freetds-dev (1.1.24 -> 1.3.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:32:20 2022 +0100 (2022-02-27) |
parents | cc07895be981 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="geany-plugins"
4 VERSION="1.23"
5 CATEGORY="development"
6 SHORT_DESC="Additionnal plugins for Geany."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://plugins.geany.org/"
11 WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
12 #HOST_ARCH="i486 arm"
13 COOKOPTS="!pngquant !optipng"
15 DEPENDS="enchant gtkspell geany lua"
16 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev bash"
18 # Handle cross compilation.
19 case "$ARCH" in
20 i?86)
21 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev vte-dev"
22 esac
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/*} 2>/dev/null | \
28 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ln -fs bash /bin/sh # needs var+="string" support
35 ./configure \
36 --libexecdir=/usr/lib \
37 --enable-addons \
38 --enable-codenav \
39 --enable-commander \
40 --enable-debugger \
41 --disable-devhelp \
42 --enable-geanydoc \
43 --enable-treebrowser \
44 --enable-geanyvc \
45 --disable-geanyextrasel \
46 --disable-geanygendoc \
47 --disable-geanyinsertnum \
48 --disable-geanylatex \
49 --disable-geanylipsum \
50 --disable-geanylua \
51 --disable-geanymacro \
52 --disable-geanyminiscript \
53 --disable-geanynumberedbookmarks \
54 --disable-geanyprj \
55 --disable-geanysendmail \
56 --disable-geanypg \
57 --disable-largefile \
58 --disable-geniuspaste \
59 --disable-gproject \
60 --disable-markdown \
61 --disable-peg-markdown \
62 --disable-multiterm \
63 --disable-pretty_printer \
64 --disable-scope \
65 --disable-shiftcolumn \
66 --disable-spellcheck \
67 --disable-tableconvert \
68 --disable-updatechecker \
69 --disable-webhelper \
70 --disable-xmlsnippets \
71 $CONFIGURE_ARGS ${ARCH_ARGS} &&
72 make && make install
73 }
75 # Rules to gen a SliTaz package suitable for Tazpkg.
76 genpkg_rules()
77 {
78 mkdir -p $fs/usr/lib/geany
80 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
81 }