wok-6.x annotate efreet/receipt @ rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents b01314c762e9
children
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@9788 3 PACKAGE="efreet"
pankso@16141 4 VERSION="1.7.10"
pankso@9788 5 CATEGORY="base-system"
domcox@14669 6 SHORT_DESC="EFL library for handling of freedesktop.org specs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@14994 8 LICENSE="BSD"
pascal@25021 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pascal@25021 11 WGET_URL="https://download.enlightenment.org/__old/att/releases/$TARBALL"
domcox@14402 12 TAGS="e enlightenment efl"
pankso@16141 13 HOST_ARCH="i486 arm"
pankso@9788 14
domcox@14402 15 DEPENDS="ecore"
domcox@14402 16 BUILD_DEPENDS="ecore-dev"
pankso@9788 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/efreet.git/ 2>/dev/null | \
pascal@24759 22 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
pascal@24759 23 }
pascal@24759 24
pankso@9788 25 # Rules to configure and make the package.
pankso@9788 26 compile_rules()
pankso@9788 27 {
pankso@16141 28 export CFLAGS="$CFLAGS -fvisibility=hidden"
pankso@16141 29 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
domcox@14669 30 ./configure --disable-doc $CONFIGURE_ARGS &&
domcox@14669 31 make $MAKEFLAGS && make install
pankso@9788 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
pankso@13640 38 cp -a $install/usr/bin $fs/usr
pankso@13640 39 cp -a $install/usr/share $fs/usr
pankso@13640 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13640 41 cp -a $install/usr/lib/efreet $fs/usr/lib
pankso@140 42 }