wok annotate geany/receipt @ rev 24454

gnustep-back: added dependency icu
author Hans-G?nter Theisgen
date Wed Feb 16 07:53:02 2022 +0100 (2022-02-16)
parents 5d53e8ccbc8d
children 94dd3813f40d
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="geany"
erjo@15703 4 VERSION="1.23.1"
pankso@188 5 CATEGORY="development"
pankso@43 6 SHORT_DESC="Small and fast IDE using GTK+ toolkit."
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pankso@10785 9 SUGGESTED="geany-plugins vte"
pankso@10785 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@10785 11 WEB_SITE="http://geany.uvena.de/"
pankso@10785 12 WGET_URL="http://download.geany.org/$TARBALL"
al@17501 13 TAGS="text-editor"
pankso@16248 14 HOST_ARCH="i486 arm"
pankso@10785 15
rcx@3689 16 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
pankso@16248 17 gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \
pankso@16248 18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
rcx@3689 19 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
pankso@16248 20 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
pankso@16248 21 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
pankso@16248 22 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
pankso@16248 23 xorg-libXdmcp-dev libxml2-dev"
pankso@16248 24
pankso@16248 25 # Handle cross compilation.
pankso@16248 26 case "$ARCH" in
pankso@16248 27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;;
pankso@16248 28 arm*) ARCH_ARGS="--disable-vte" ;;
pankso@16248 29 esac
pankso@43 30
pascal@24445 31 # What is the latest version available today?
pascal@24445 32 current_version()
pascal@24445 33 {
pascal@24445 34 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 35 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 36 }
pascal@24445 37
pankso@43 38 # Rules to configure and make the package.
pankso@43 39 compile_rules()
pankso@43 40 {
pankso@16248 41 ./configure \
pankso@16248 42 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
pankso@10785 43 make && make install
pankso@43 44 }
pankso@43 45
pankso@43 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 47 genpkg_rules()
pankso@43 48 {
slaxemulator@11164 49 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
slaxemulator@13061 50 cp -a $install/usr/bin $fs/usr
slaxemulator@13061 51 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
slaxemulator@13061 52 cp -a $install/usr/share/geany $fs/usr/share
pankso@10785 53 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
pankso@670 54 rm $fs/usr/share/geany/GPL-2
slaxemulator@13061 55 cp -a $install/usr/share/icons $fs/usr/share
pankso@10786 56 cd $fs/usr/share
slaxemulator@13061 57 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
pankso@43 58 }