wok-current view pcmanfm-legacy/receipt @ rev 24739

updated libexif and libexif-dev (0.6.22 -> 0.6.24)
author Hans-G?nter Theisgen
date Wed Mar 16 09:57:52 2022 +0100 (2022-03-16)
parents 86c657b651d4
children 8ea0030e77cb
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm-legacy"
4 VERSION="0.5.2"
5 SOURCE="pcmanfm"
6 CATEGORY="system-tools"
7 SHORT_DESC="Light and easy to use file manager."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://pcmanfm.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 TAGS="file-manager"
15 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
16 zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \
17 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
19 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender \
20 hicolor-icon-theme shared-mime-info"
21 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
22 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \
23 xcb-util"
25 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - 'https://sourceforge.net/projects/pcmanfm/files/PCManFM %2B Libfm (tarball release)/PCManFM/' 2>/dev/null | \
29 sed '/scope="row/!d;s|.*/pcmanfm-||;s|.tar.*||;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
36 export LDFLAGS="$LDFLAGS -lxcb-util -Wl,--copy-dt-needed-entries -lXt"
38 cd $src
39 for i in $stuff/*.patch
40 do
41 if [ -f done.$(basename $i) ]; then
42 continue
43 else
44 patch -p0 < $i && touch done.$(basename $i) || return 1
45 fi
46 done
48 cp $stuff/fr.po $src/po
50 ./configure \
51 --enable-hal \
52 $CONFIGURE_ARGS &&
53 make && make -j 1 install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 mkdir -p $fs/usr/share/applications $fs/etc/xdg
61 cp -a $install/usr/bin $fs/usr
62 #cp -a $install/usr/share/mime $fs/usr/share
63 cp -a $install/usr/share/pcmanfm $fs/usr/share
64 rm -rf $fs/usr/share/pcmanfm/icons
66 # XDG autostart desktop file (lxsession will use it automaticaly)
67 cp -a $stuff/autostart $fs/etc/xdg
68 }
70 post_install()
71 {
72 # update mime-cache
73 echo
74 echo "Updating mime-types database"
75 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
76 }