wok view xfe/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents 325f04e24eff
children 29df00e1e19d
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 autoreconf -i
43 # Required by freetype-dev-2.4.11
44 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
45 export LDFLAGS="$LDFLAGS -lrt"
47 ./configure $CONFIGURE_ARGS &&
48 make &&
49 make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/bin
56 mkdir -p $fs/usr/share/xfe/icons
58 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
59 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
60 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
62 # Tango/Gnome icons theme only
63 cp -a $install/usr/share/xfe/icons/tango-theme \
64 $fs/usr/share/xfe/icons
65 cp -a $install/usr/share/xfe/icons/gnome-theme \
66 $fs/usr/share/xfe/icons
67 }