wok annotate xfe/receipt @ rev 19835

hatari: fix install paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 08:32:51 2017 +0100 (2017-03-11)
parents 5d53e8ccbc8d
children 035061c662bf
rev   line source
pankso@2781 1 # SliTaz package receipt.
pankso@2781 2
pankso@2781 3 PACKAGE="xfe"
mojo@17530 4 VERSION="1.40"
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"
mojo@17530 17 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake"
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 {
mojo@17530 30 # Required by freetype-dev-2.4.11
mojo@17530 31 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
mojo@17530 32 ./autogen.sh
erjo@11659 33 ./configure $CONFIGURE_ARGS && make && make install
pankso@2781 34 }
pankso@2781 35
pankso@2781 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2781 37 genpkg_rules()
pankso@2781 38 {
pankso@2781 39 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
erjo@11659 40 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
erjo@11659 41 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
pankso@2781 42 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
pankso@2781 43 # Tango/Gnome icons theme only
pascal@15000 44 cp -a $install/usr/share/xfe/icons/tango-theme \
pankso@2781 45 $fs/usr/share/xfe/icons
pascal@15000 46 cp -a $install/usr/share/xfe/icons/gnome-theme \
pankso@16086 47 $fs/usr/share/xfe/icons
pankso@2781 48 }