wok-next annotate pcmanfm/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | e44a1a92452b |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19812 | 1 # SliTaz package receipt v2. |
pankso@255 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm" |
psychomaniak@19559 | 4 VERSION="1.2.5" |
pankso@255 | 5 CATEGORY="system-tools" |
al@19812 | 6 SHORT_DESC="Light and easy to use file manager" |
pankso@255 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19893 | 9 WEB_SITE="https://wiki.lxde.org/en/PCManFM" |
al@19812 | 10 HOST_ARCH="i486 arm" |
al@19812 | 11 |
pankso@16276 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@18130 | 13 #WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
psychomaniak@18130 | 14 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz" |
pankso@12544 | 15 |
al@19812 | 16 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ |
al@19812 | 17 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc \ |
al@19812 | 18 libtool" |
al@19813 | 19 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk+-dev automake" |
pankso@255 | 20 |
pankso@255 | 21 # Rules to configure and make the package. |
pankso@255 | 22 compile_rules() |
pankso@255 | 23 { |
al@19812 | 24 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/pcmanfm.html |
al@19813 | 25 |
al@19813 | 26 # tarball from git.lxde.org requires this step |
al@19813 | 27 [ -e "$src/configure" ] || ./autogen.sh |
al@19813 | 28 |
al@19812 | 29 ./configure \ |
al@19812 | 30 --sysconfdir=/etc \ |
al@19812 | 31 $CONFIGURE_ARGS && |
al@19812 | 32 make && make install && |
al@19317 | 33 |
al@19812 | 34 mkdir -p $install/etc/xdg/pcmanfm/ && |
al@19812 | 35 # default settings |
al@19812 | 36 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/ && |
al@19812 | 37 # XDG autostart desktop file (lxsession will use it automatically) |
al@19812 | 38 cp -r $stuff/autostart/ $install/etc/xdg/ && |
al@19812 | 39 # add custom actions |
al@19812 | 40 mkdir -p $install/usr/share/file-manager && |
al@19812 | 41 cp -r $stuff/actions/ $install/usr/share/file-manager && |
al@19812 | 42 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin |
al@19863 | 43 |
al@19863 | 44 # avoid warning about missed modules dir |
al@19863 | 45 mkdir -p $install/usr/lib/pcmanfm |
pankso@255 | 46 } |
pankso@255 | 47 |
pankso@255 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 49 genpkg_rules() |
pankso@255 | 50 { |
al@19812 | 51 copy @std |
al@19812 | 52 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libfm \ |
al@19812 | 53 libfm-gtk pango xorg-libX11" |
al@19812 | 54 SUGGESTED="gvfs" |
al@19812 | 55 TAGS="file-manager" |
pankso@255 | 56 } |