wok view xfe/receipt @ rev 25710

typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 25 12:42:06 2024 +0000 (3 months ago)
parents cf986fd913b1
children
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 # What is the latest version available today?
32 current_version()
33 {
34 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
35 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
36 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
37 }
39 # Rules to configure and make the package.
40 compile_rules()
41 {
42 autoreconf -i
44 # Required by freetype-dev-2.4.11
45 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
46 export LDFLAGS="$LDFLAGS -lrt"
48 ./configure $CONFIGURE_ARGS &&
49 make &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/bin
57 mkdir -p $fs/usr/share/xfe/icons
59 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
60 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
61 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
63 # Tango/Gnome icons theme only
64 cp -a $install/usr/share/xfe/icons/tango-theme \
65 $fs/usr/share/xfe/icons
66 cp -a $install/usr/share/xfe/icons/gnome-theme \
67 $fs/usr/share/xfe/icons
68 }