wok-6.x annotate xfe/receipt @ rev 17501
Normalize tags "file-manager", "web-browser", "text-editor", "terminal", and "window-manager" according to tazx.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 08 02:04:05 2015 +0200 (2015-01-08) |
parents | 809051a5c75a |
children | 2611e3a0ba21 |
rev | line source |
---|---|
pankso@2781 | 1 # SliTaz package receipt. |
pankso@2781 | 2 |
pankso@2781 | 3 PACKAGE="xfe" |
pankso@16088 | 4 VERSION="1.37" |
pankso@2781 | 5 CATEGORY="system-tools" |
pankso@2781 | 6 SHORT_DESC="Xfe File manager and utility using Fox toolkit." |
pankso@2781 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@2781 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11659 | 10 WEB_SITE="http://roland65.free.fr/xfe/" |
erjo@11659 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@17501 | 12 TAGS="file-manager" |
pankso@16088 | 13 #HOST_ARCH="i486 arm" |
pankso@16086 | 14 |
pankso@16088 | 15 SUGGESTED="adie calculator shutterbug xfe-extras xfi" |
pankso@16086 | 16 DEPENDS="libpng jpeg tiff xorg-libXft fox" |
pankso@16086 | 17 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev" |
pankso@16086 | 18 GENERIC_MENUS="no" |
erjo@11659 | 19 |
pankso@16086 | 20 # Handle cross compilation. |
pankso@16086 | 21 case "$ARCH" in |
pankso@16086 | 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; |
pankso@16086 | 23 arm) |
pankso@16088 | 24 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16086 | 25 esac |
pankso@2781 | 26 |
pankso@2781 | 27 # Rules to configure and make the package. |
pankso@2781 | 28 compile_rules() |
pankso@2781 | 29 { |
erjo@11659 | 30 ./configure $CONFIGURE_ARGS && make && make install |
pankso@2781 | 31 } |
pankso@2781 | 32 |
pankso@2781 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2781 | 34 genpkg_rules() |
pankso@2781 | 35 { |
pankso@2781 | 36 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons |
erjo@11659 | 37 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin |
erjo@11659 | 38 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe |
pankso@2781 | 39 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc |
pankso@2781 | 40 # Tango/Gnome icons theme only |
pascal@15000 | 41 cp -a $install/usr/share/xfe/icons/tango-theme \ |
pankso@2781 | 42 $fs/usr/share/xfe/icons |
pascal@15000 | 43 cp -a $install/usr/share/xfe/icons/gnome-theme \ |
pankso@16086 | 44 $fs/usr/share/xfe/icons |
pankso@2781 | 45 } |