wok annotate elementary-dev/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents 689fcc83daec
children
rev   line source
pankso@4767 1 # SliTaz package receipt.
pankso@4767 2
pankso@4767 3 PACKAGE="elementary-dev"
pankso@16141 4 VERSION="1.7.10"
pankso@4767 5 CATEGORY="development"
domcox@14683 6 SHORT_DESC="EFL full regular widget set - Devel files."
pankso@4767 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@4767 9 WANTED="elementary"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pankso@16141 11 HOST_ARCH="i486 arm"
pankso@4767 12
pascal@15597 13 DEPENDS="efreet-dev emotion-dev ethumb-dev elementary pkg-config"
domcox@14423 14
pankso@4767 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4767 16 genpkg_rules()
pankso@4767 17 {
pankso@16141 18 case "$ARCH" in
pankso@16141 19 i?86) edje_mods="/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0" ;;
pankso@16141 20 arm) edje_mods="/usr/lib/edje/modules/elm/linux-gnueabi-arm-1.0.0" ;;
pankso@16141 21 esac
pankso@16141 22 mkdir -p ${fs}${edje_mods}
pankso@13645 23 cp -a $install/usr/include $fs/usr
pankso@13645 24 cp -a $install/usr/lib/*.*a $fs/usr/lib
pankso@16141 25 cp -a ${install}${edje_mods}/module.la ${fs}${edje_mods}
pankso@13645 26 cp -a $install/usr/lib/elementary $fs/usr/lib
pankso@13645 27 rm -f $fs/usr/lib/elementary/modules/*/*/*.so
pankso@13645 28 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
domcox@14423 29 # menus
domcox@14423 30 mkdir -p $fs/usr/bin
domcox@14423 31 cp -a $install/usr/bin/* $fs/usr/bin
domcox@14423 32 mkdir -p $fs/usr/share/pixmaps
pankso@16141 33 cp -a $install/usr/share/applications $fs/usr/share
pankso@16141 34 cp -a $install/usr/share/icons/* $fs/usr/share/pixmaps
pankso@4767 35 }