rev |
line source |
pankso@578
|
1 # SliTaz package receipt.
|
pankso@578
|
2
|
pankso@578
|
3 PACKAGE="geany-plugins"
|
erjo@14450
|
4 VERSION="1.23"
|
pankso@578
|
5 CATEGORY="development"
|
pankso@578
|
6 SHORT_DESC="Additionnal plugins for Geany."
|
pankso@578
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@15600
|
8 LICENSE="GPL2"
|
slaxemulator@11165
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@20669
|
10 WEB_SITE="https://plugins.geany.org/"
|
slaxemulator@11165
|
11 WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL"
|
pankso@16248
|
12 #HOST_ARCH="i486 arm"
|
slaxemulator@11165
|
13
|
pascal@15600
|
14 DEPENDS="enchant gtkspell geany lua"
|
pascal@20671
|
15 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev bash"
|
pascal@15600
|
16
|
pascal@16254
|
17 # Handle cross compilation.
|
pascal@16254
|
18 case "$ARCH" in
|
pascal@16254
|
19 i?86)
|
pascal@16254
|
20 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev vte-dev"
|
pascal@16254
|
21 esac
|
pascal@16254
|
22
|
slaxemulator@11165
|
23 # Rules to configure and make the package.
|
slaxemulator@11165
|
24 compile_rules()
|
slaxemulator@11165
|
25 {
|
pascal@20671
|
26 #ln -fs bash /bin/sh # needs var+="string" support
|
pankso@16248
|
27 ./configure \
|
pankso@16248
|
28 --libexecdir=/usr/lib \
|
pankso@16248
|
29 --enable-addons \
|
pankso@16248
|
30 --enable-codenav \
|
pankso@16248
|
31 --enable-commander \
|
pankso@16248
|
32 --enable-debugger \
|
pankso@16248
|
33 --disable-devhelp \
|
pankso@16248
|
34 --enable-geanydoc \
|
pankso@16248
|
35 --enable-treebrowser \
|
pankso@16248
|
36 --enable-geanyvc \
|
pankso@16248
|
37 --disable-geanyextrasel \
|
pankso@16248
|
38 --disable-geanygendoc \
|
pankso@16248
|
39 --disable-geanyinsertnum \
|
pankso@16248
|
40 --disable-geanylatex \
|
pankso@16248
|
41 --disable-geanylipsum \
|
pankso@16248
|
42 --disable-geanylua \
|
pankso@16248
|
43 --disable-geanymacro \
|
pankso@16248
|
44 --disable-geanyminiscript \
|
pankso@16248
|
45 --disable-geanynumberedbookmarks \
|
pankso@16248
|
46 --disable-geanyprj \
|
pankso@16248
|
47 --disable-geanysendmail \
|
pankso@16248
|
48 --disable-geanypg \
|
pankso@16248
|
49 --disable-largefile \
|
pankso@16248
|
50 --disable-geniuspaste \
|
pankso@16248
|
51 --disable-gproject \
|
pankso@16248
|
52 --disable-markdown \
|
pankso@16248
|
53 --disable-peg-markdown \
|
pankso@16248
|
54 --disable-multiterm \
|
pankso@16248
|
55 --disable-pretty_printer \
|
pankso@16248
|
56 --disable-scope \
|
pankso@16248
|
57 --disable-shiftcolumn \
|
pankso@16248
|
58 --disable-spellcheck \
|
pankso@16248
|
59 --disable-tableconvert \
|
pankso@16248
|
60 --disable-updatechecker \
|
pankso@16248
|
61 --disable-webhelper \
|
pankso@16248
|
62 --disable-xmlsnippets \
|
pankso@16248
|
63 $CONFIGURE_ARGS ${ARCH_ARGS} &&
|
slaxemulator@11165
|
64 make && make install
|
slaxemulator@11165
|
65 }
|
pankso@578
|
66
|
pankso@578
|
67 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@578
|
68 genpkg_rules()
|
pankso@578
|
69 {
|
erjo@14450
|
70 mkdir -p $fs/usr/lib/geany
|
erjo@15704
|
71
|
erjo@14450
|
72 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
|
pankso@578
|
73 }
|