wok-6.x view geany/receipt @ rev 25253

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