wok-6.x annotate ecore/receipt @ rev 24973
Up zsh (5.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 15:03:44 2022 +0000 (2022-05-01) |
parents | 86790a278e70 |
children | 1be16cc1cd50 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="ecore" |
pankso@16140 | 4 VERSION="1.7.10" |
gokhlayeh@8505 | 5 CATEGORY="base-system" |
domcox@14663 | 6 SHORT_DESC="EFL core event and OS abstraction layer" |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14994 | 8 LICENSE="BSD" |
pankso@140 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://www.enlightenment.org/" |
gokhlayeh@8505 | 11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL" |
domcox@14395 | 12 TAGS="e enlightenment efl" |
pankso@16140 | 13 HOST_ARCH="i486 arm" |
pankso@140 | 14 |
pankso@16161 | 15 DEPENDS="eina evas libcurl libidn" |
pankso@16161 | 16 BUILD_DEPENDS="eina-dev evas-dev curl-dev libidn-dev" |
pankso@9786 | 17 |
pascal@24759 | 18 # What is the latest version available today? |
pascal@24759 | 19 current_version() |
pascal@24759 | 20 { |
pascal@24759 | 21 wget -O - https://git.enlightenment.org/legacy/ecore.git/ 2>/dev/null | \ |
pascal@24759 | 22 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q' |
pascal@24759 | 23 } |
pascal@24759 | 24 |
pankso@140 | 25 # Rules to configure and make the package. |
pankso@140 | 26 compile_rules() |
pankso@140 | 27 { |
pankso@16140 | 28 export CFLAGS="$CFLAGS -fvisibility=hidden" |
pankso@16140 | 29 export LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14663 | 30 ./configure -disable-doc $CONFIGURE_ARGS && |
domcox@14663 | 31 make $MAKEFLAGS && make install |
pankso@140 | 32 } |
pankso@140 | 33 |
pankso@140 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 35 genpkg_rules() |
pankso@140 | 36 { |
pankso@140 | 37 mkdir -p $fs/usr/lib |
pascal@14994 | 38 cp -a $install/usr/bin $fs/usr |
pascal@14994 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@140 | 40 } |