wok annotate geany-plugins/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents cc07895be981
children
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"
pascal@21808 13 COOKOPTS="!pngquant !optipng"
slaxemulator@11165 14
pascal@15600 15 DEPENDS="enchant gtkspell geany lua"
pascal@20671 16 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev bash"
pascal@15600 17
pascal@16254 18 # Handle cross compilation.
pascal@16254 19 case "$ARCH" in
pascal@16254 20 i?86)
pascal@16254 21 BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev vte-dev"
pascal@16254 22 esac
pascal@16254 23
pascal@24436 24 # What is the latest version available today?
pascal@24436 25 current_version()
pascal@24436 26 {
pascal@24436 27 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24436 28 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24436 29 }
pascal@24436 30
slaxemulator@11165 31 # Rules to configure and make the package.
slaxemulator@11165 32 compile_rules()
slaxemulator@11165 33 {
pascal@21808 34 ln -fs bash /bin/sh # needs var+="string" support
pankso@16248 35 ./configure \
pankso@16248 36 --libexecdir=/usr/lib \
pankso@16248 37 --enable-addons \
pankso@16248 38 --enable-codenav \
pankso@16248 39 --enable-commander \
pankso@16248 40 --enable-debugger \
pankso@16248 41 --disable-devhelp \
pankso@16248 42 --enable-geanydoc \
pankso@16248 43 --enable-treebrowser \
pankso@16248 44 --enable-geanyvc \
pankso@16248 45 --disable-geanyextrasel \
pankso@16248 46 --disable-geanygendoc \
pankso@16248 47 --disable-geanyinsertnum \
pankso@16248 48 --disable-geanylatex \
pankso@16248 49 --disable-geanylipsum \
pankso@16248 50 --disable-geanylua \
pankso@16248 51 --disable-geanymacro \
pankso@16248 52 --disable-geanyminiscript \
pankso@16248 53 --disable-geanynumberedbookmarks \
pankso@16248 54 --disable-geanyprj \
pankso@16248 55 --disable-geanysendmail \
pankso@16248 56 --disable-geanypg \
pankso@16248 57 --disable-largefile \
pankso@16248 58 --disable-geniuspaste \
pankso@16248 59 --disable-gproject \
pankso@16248 60 --disable-markdown \
pankso@16248 61 --disable-peg-markdown \
pankso@16248 62 --disable-multiterm \
pankso@16248 63 --disable-pretty_printer \
pankso@16248 64 --disable-scope \
pankso@16248 65 --disable-shiftcolumn \
pankso@16248 66 --disable-spellcheck \
pankso@16248 67 --disable-tableconvert \
pankso@16248 68 --disable-updatechecker \
pankso@16248 69 --disable-webhelper \
pankso@16248 70 --disable-xmlsnippets \
pankso@16248 71 $CONFIGURE_ARGS ${ARCH_ARGS} &&
slaxemulator@11165 72 make && make install
slaxemulator@11165 73 }
pankso@578 74
pankso@578 75 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@578 76 genpkg_rules()
pankso@578 77 {
erjo@14450 78 mkdir -p $fs/usr/lib/geany
erjo@15704 79
erjo@14450 80 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
pankso@578 81 }