wok annotate xfe/receipt @ rev 23747

updated xfe and xfe-extras (1.40 -> 1.43.2)
author Hans-G?nter Theisgen
date Fri May 01 14:54:01 2020 +0100 (2020-05-01)
parents 2611e3a0ba21
children ad86373a4a8c
rev   line source
pankso@2781 1 # SliTaz package receipt.
pankso@2781 2
pankso@2781 3 PACKAGE="xfe"
Hans-G?nter@23747 4 VERSION="1.43.2"
pankso@2781 5 CATEGORY="system-tools"
Hans-G?nter@23747 6 TAGS="file-manager"
pankso@2781 7 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
pankso@2781 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@23747 10 WEB_SITE="http://roland65.free.fr/xfe/"
Hans-G?nter@23747 11
pankso@2781 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11659 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16086 14
pankso@16088 15 SUGGESTED="adie calculator shutterbug xfe-extras xfi"
Hans-G?nter@23747 16 DEPENDS="fox jpeg libpng tiff xcb-util xorg-libXft"
Hans-G?nter@23747 17 BUILD_DEPENDS="automake fox-dev jpeg-dev libpng-dev tiff-dev
Hans-G?nter@23747 18 xcb-util-dev xorg-libXft-dev"
Hans-G?nter@23747 19
pankso@16086 20 GENERIC_MENUS="no"
erjo@11659 21
Hans-G?nter@23747 22 #HOST_ARCH="i486 arm"
Hans-G?nter@23747 23
pankso@16086 24 # Handle cross compilation.
pankso@16086 25 case "$ARCH" in
pankso@16086 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
pankso@16086 27 arm)
pankso@16088 28 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
pankso@16086 29 esac
pankso@2781 30
pankso@2781 31 # Rules to configure and make the package.
pankso@2781 32 compile_rules()
pankso@2781 33 {
mojo@17530 34 # Required by freetype-dev-2.4.11
mojo@17530 35 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
Hans-G?nter@23747 36 export LDFLAGS="$LDFLAGS -lrt"
Hans-G?nter@23747 37
Hans-G?nter@23747 38 ./autogen.sh &&
Hans-G?nter@23747 39 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@23747 40 make &&
Hans-G?nter@23747 41 make install
pankso@2781 42 }
pankso@2781 43
pankso@2781 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2781 45 genpkg_rules()
pankso@2781 46 {
Hans-G?nter@23747 47 mkdir -p $fs/usr/bin
Hans-G?nter@23747 48 mkdir -p $fs/usr/share/xfe/icons
Hans-G?nter@23747 49
Hans-G?nter@23747 50 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
Hans-G?nter@23747 51 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
Hans-G?nter@23747 52 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
Hans-G?nter@23747 53
pankso@2781 54 # Tango/Gnome icons theme only
pascal@15000 55 cp -a $install/usr/share/xfe/icons/tango-theme \
Hans-G?nter@23747 56 $fs/usr/share/xfe/icons
pascal@15000 57 cp -a $install/usr/share/xfe/icons/gnome-theme \
Hans-G?nter@23747 58 $fs/usr/share/xfe/icons
pankso@2781 59 }