wok view xfe/receipt @ rev 24463
updated dar (2.6.7 -> 2.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 07:23:25 2022 +0100 (2022-02-17) |
parents | 035061c662bf |
children | 325f04e24eff |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.43.2"
5 CATEGORY="system-tools"
6 TAGS="file-manager"
7 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://roland65.free.fr/xfe/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="adie calculator shutterbug xfe-extras xfi"
16 DEPENDS="fox jpeg libpng tiff xcb-util xorg-libXft"
17 BUILD_DEPENDS="automake fox-dev jpeg-dev libpng-dev tiff-dev
18 xcb-util-dev xorg-libXft-dev"
20 GENERIC_MENUS="no"
22 #HOST_ARCH="i486 arm"
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
27 arm)
28 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
29 esac
31 current_version()
32 {
33 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
34 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
35 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
36 }
38 # Rules to configure and make the package.
39 compile_rules()
40 {
41 # Required by freetype-dev-2.4.11
42 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
43 export LDFLAGS="$LDFLAGS -lrt"
45 ./autogen.sh &&
46 ./configure $CONFIGURE_ARGS &&
47 make &&
48 make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/bin
55 mkdir -p $fs/usr/share/xfe/icons
57 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
58 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
59 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
61 # Tango/Gnome icons theme only
62 cp -a $install/usr/share/xfe/icons/tango-theme \
63 $fs/usr/share/xfe/icons
64 cp -a $install/usr/share/xfe/icons/gnome-theme \
65 $fs/usr/share/xfe/icons
66 }