wok-6.x annotate elementary/receipt @ rev 12920
elementary: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 29 22:10:29 2012 +0200 (2012-05-29) |
parents | 84ebeaa3c922 |
children | 6a4c8acbecc6 |
rev | line source |
---|---|
pankso@4767 | 1 # SliTaz package receipt. |
pankso@4767 | 2 |
pankso@4767 | 3 PACKAGE="elementary" |
gokhlayeh@8595 | 4 VERSION="0.7.0.55225" |
pankso@4767 | 5 CATEGORY="x-window" |
pankso@4767 | 6 SHORT_DESC="Widget set based on EFL for mobile touch-screen devices." |
pankso@4767 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4767 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4767 | 9 WEB_SITE="http://www.enlightenment.org/" |
gokhlayeh@8595 | 10 WGET_URL="http://download.enlightenment.org/snapshots/2010-12-03/$TARBALL" |
pankso@10621 | 11 TAGS="e17" |
pankso@10621 | 12 |
pankso@10621 | 13 DEPENDS="eina eet evas ecore edje efreet libelementary" |
pascal@12919 | 14 BUILD_DEPENDS="eina-dev eet-dev evas-dev ecore-dev edje-dev efreet-dev \ |
pascal@12920 | 15 expat-dev jpeg-dev glib-dev libpng-dev" |
pankso@4767 | 16 |
pankso@4767 | 17 # Rules to configure and make the package. |
pankso@4767 | 18 compile_rules() |
pankso@4767 | 19 { |
pascal@12920 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" |
pankso@10621 | 21 ./configure $CONFIGURE_ARGS && make && make install |
pankso@4767 | 22 } |
pankso@4767 | 23 |
pankso@4767 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4767 | 25 genpkg_rules() |
pankso@4767 | 26 { |
gokhlayeh@8595 | 27 mkdir -p $fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0 \ |
gokhlayeh@8595 | 28 $fs/usr/lib/elementary/modules/test_entry/linux-gnu-i486-0.7.0 |
pankso@4767 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@4767 | 30 cp -a $_pkg/usr/share $fs/usr |
pankso@4767 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
gokhlayeh@8595 | 32 cp -a $_pkg/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0/module.so \ |
gokhlayeh@8595 | 33 $fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0 |
gokhlayeh@8595 | 34 cp -a $_pkg/usr/lib/elementary/modules/test_entry/linux-gnu-i486-0.7.0/module.so \ |
gokhlayeh@8595 | 35 $fs/usr/lib/elementary/modules/test_entry/linux-gnu-i486-0.7.0 |
pankso@4767 | 36 cp -a $_pkg/usr/lib/elementary $fs/usr/lib |
pankso@4767 | 37 } |