wok-current annotate pcmanfm-legacy/receipt @ rev 21678
updated pgrouting (2.5.2 -> 2.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 02 10:56:29 2019 +0100 (2019-06-02) |
parents | 0dfcb8e462b4 |
children | 19141648d795 |
rev | line source |
---|---|
pankso@13349 | 1 # SliTaz package receipt. |
pankso@13349 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm-legacy" |
pankso@13349 | 4 VERSION="0.5.2" |
pascal@13351 | 5 SOURCE="pcmanfm" |
pankso@13349 | 6 CATEGORY="system-tools" |
pankso@13349 | 7 SHORT_DESC="Light and easy to use file manager." |
pankso@13349 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
pascal@13351 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@13349 | 11 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pascal@13351 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
al@17501 | 13 TAGS="file-manager" |
pankso@13349 | 14 |
pankso@13349 | 15 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@13349 | 16 zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \ |
pankso@13349 | 17 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \ |
pankso@13349 | 18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
pankso@13349 | 19 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender \ |
pankso@13349 | 20 hicolor-icon-theme" |
pankso@13349 | 21 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \ |
pankso@13349 | 22 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \ |
pankso@13349 | 23 xcb-util" |
pankso@13349 | 24 |
pankso@13349 | 25 # Rules to configure and make the package. |
pankso@13349 | 26 compile_rules() |
pankso@13349 | 27 { |
pankso@13349 | 28 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt" |
pankso@13349 | 30 |
pankso@13349 | 31 cd $src |
pankso@13349 | 32 for i in $stuff/*.patch |
pankso@13349 | 33 do |
pankso@13349 | 34 if [ -f done.$(basename $i) ]; then |
pankso@13349 | 35 continue |
pankso@13349 | 36 else |
pankso@13349 | 37 patch -p0 < $i && touch done.$(basename $i) || return 1 |
pankso@13349 | 38 fi |
pankso@13349 | 39 done |
pankso@13349 | 40 |
pankso@13349 | 41 cp $stuff/fr.po $src/po |
pankso@13349 | 42 |
pankso@13349 | 43 ./configure \ |
pankso@13349 | 44 --enable-hal \ |
pankso@13349 | 45 $CONFIGURE_ARGS && |
pascal@18972 | 46 make && make -j 1 install |
pankso@13349 | 47 } |
pankso@13349 | 48 |
pankso@13349 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13349 | 50 genpkg_rules() |
pankso@13349 | 51 { |
pankso@13349 | 52 mkdir -p $fs/usr/share/applications $fs/etc/xdg |
pankso@13349 | 53 |
pankso@13349 | 54 cp -a $install/usr/bin $fs/usr |
pascal@15626 | 55 #cp -a $install/usr/share/mime $fs/usr/share |
pankso@13349 | 56 cp -a $install/usr/share/pcmanfm $fs/usr/share |
pankso@13349 | 57 rm -rf $fs/usr/share/pcmanfm/icons |
pankso@13349 | 58 |
pankso@13349 | 59 # XDG autostart desktop file (lxsession will use it automaticaly) |
pankso@13349 | 60 cp -a $stuff/autostart $fs/etc/xdg |
pankso@13349 | 61 } |
pankso@13349 | 62 |
pankso@13349 | 63 post_install() |
pankso@13349 | 64 { |
pankso@13349 | 65 # update mime-cache |
pascal@20319 | 66 echo |
pankso@13349 | 67 echo "Updating mime-types database" |
pankso@13349 | 68 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime |
pankso@13349 | 69 } |