wok-next annotate elementary/receipt @ rev 14522
Up: transmission (2.52)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri May 17 03:18:43 2013 +0000 (2013-05-17) |
parents | 0941341ce316 |
children | 77134b1c6b17 |
rev | line source |
---|---|
pankso@4767 | 1 # SliTaz package receipt. |
pankso@4767 | 2 |
pankso@4767 | 3 PACKAGE="elementary" |
domcox@14327 | 4 VERSION="1.7.6" |
pankso@4767 | 5 CATEGORY="x-window" |
domcox@14327 | 6 SHORT_DESC="Widget toolkit and EFL wrapper." |
pankso@4767 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4767 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4767 | 9 WEB_SITE="http://www.enlightenment.org/" |
pankso@13645 | 10 WGET_URL="http://download.enlightenment.org/releases/$TARBALL" |
domcox@14422 | 11 TAGS="e enlightenment efl" |
pankso@10621 | 12 |
domcox@14422 | 13 DEPENDS="efreet emotion ethumb libelementary" |
domcox@14422 | 14 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev" |
pankso@4767 | 15 |
pankso@4767 | 16 # Rules to configure and make the package. |
pankso@4767 | 17 compile_rules() |
pankso@4767 | 18 { |
domcox@14310 | 19 CFLAGS="$CFLAGS -fvisibility=hidden" |
domcox@14310 | 20 LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14310 | 21 export LDFLAGS |
domcox@14310 | 22 ./configure \ |
domcox@14422 | 23 --datadir=/usr/share2 \ |
domcox@14310 | 24 $CONFIGURE_ARGS && |
domcox@14310 | 25 make && make install |
pankso@4767 | 26 } |
pankso@4767 | 27 |
pankso@4767 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4767 | 29 genpkg_rules() |
pankso@4767 | 30 { |
domcox@14422 | 31 # lib |
domcox@14422 | 32 mkdir -p $fs/usr/lib |
domcox@14422 | 33 cp -a $install/usr/lib/edje $fs/usr/lib |
domcox@14422 | 34 cp -a $install/usr/lib/elementary $fs/usr/lib |
domcox@14422 | 35 rm -f $fs/usr/lib/*/modules/*/*/*.la |
pankso@13645 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13645 | 37 # Package: libelementary |
pankso@13645 | 38 rm -f $fs/usr/lib/libelementary.so.* |
domcox@14422 | 39 # share |
domcox@14422 | 40 # /usr/share2: to not automatically install /usr/share/applications |
domcox@14422 | 41 mkdir -p $fs/usr/share |
domcox@14422 | 42 cp -a $install/usr/share2/elementary $fs/usr/share |
pankso@4767 | 43 } |