wok annotate xfe/receipt @ rev 16471
gstreamer-1.0: update i?86 bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 06:52:14 2014 +0000 (2014-04-22) |
parents | 0514c1f0caa8 |
children | 5d53e8ccbc8d |
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" |
pankso@16088 | 12 #HOST_ARCH="i486 arm" |
pankso@16086 | 13 |
pankso@16088 | 14 SUGGESTED="adie calculator shutterbug xfe-extras xfi" |
pankso@16086 | 15 DEPENDS="libpng jpeg tiff xorg-libXft fox" |
pankso@16086 | 16 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev" |
pankso@16086 | 17 GENERIC_MENUS="no" |
erjo@11659 | 18 |
pankso@16086 | 19 # Handle cross compilation. |
pankso@16086 | 20 case "$ARCH" in |
pankso@16086 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; |
pankso@16086 | 22 arm) |
pankso@16088 | 23 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16086 | 24 esac |
pankso@2781 | 25 |
pankso@2781 | 26 # Rules to configure and make the package. |
pankso@2781 | 27 compile_rules() |
pankso@2781 | 28 { |
erjo@11659 | 29 ./configure $CONFIGURE_ARGS && make && make install |
pankso@2781 | 30 } |
pankso@2781 | 31 |
pankso@2781 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2781 | 33 genpkg_rules() |
pankso@2781 | 34 { |
pankso@2781 | 35 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons |
erjo@11659 | 36 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin |
erjo@11659 | 37 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe |
pankso@2781 | 38 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc |
pankso@2781 | 39 # Tango/Gnome icons theme only |
pascal@15000 | 40 cp -a $install/usr/share/xfe/icons/tango-theme \ |
pankso@2781 | 41 $fs/usr/share/xfe/icons |
pascal@15000 | 42 cp -a $install/usr/share/xfe/icons/gnome-theme \ |
pankso@16086 | 43 $fs/usr/share/xfe/icons |
pankso@2781 | 44 } |