wok view geany/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 94dd3813f40d |
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%/arch*} 2>/dev/null | \
35 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }