wok annotate elementary/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents 86790a278e70
children 1be16cc1cd50
rev   line source
pankso@4767 1 # SliTaz package receipt.
pankso@4767 2
pankso@4767 3 PACKAGE="elementary"
pankso@16141 4 VERSION="1.7.10"
pankso@4767 5 CATEGORY="x-window"
domcox@14681 6 SHORT_DESC="EFL full regular widget set."
pankso@4767 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@4767 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 10 WEB_SITE="https://www.enlightenment.org/"
pankso@13645 11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
domcox@14422 12 TAGS="e enlightenment efl"
pankso@16141 13 HOST_ARCH="i486 arm"
pankso@10621 14
pankso@16141 15 GENERIC_MENUS="no"
pankso@16141 16 RELATED="elementary libelementary"
domcox@14422 17 DEPENDS="efreet emotion ethumb libelementary"
domcox@14422 18 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev"
pankso@4767 19
pascal@24491 20 # What is the latest version available today?
pascal@24491 21 current_version()
pascal@24491 22 {
pascal@24491 23 wget -O - https://download.enlightenment.org/rel/libs/elementary/ 2>/dev/null | \
pascal@24491 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24491 25 }
pascal@24491 26
pankso@4767 27 # Rules to configure and make the package.
pankso@4767 28 compile_rules()
pankso@4767 29 {
pankso@16141 30 export CFLAGS="$CFLAGS -fvisibility=hidden"
pankso@16141 31 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
pankso@16141 32 ./configure --datadir=/usr/share $CONFIGURE_ARGS &&
domcox@14681 33 make $MAKEFLAGS && make install
pankso@4767 34 }
pankso@4767 35
pankso@4767 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4767 37 genpkg_rules()
pankso@4767 38 {
domcox@14422 39 # lib
pankso@16141 40 mkdir -p $fs/usr/lib $fs/usr/share
domcox@14422 41 cp -a $install/usr/lib/edje $fs/usr/lib
domcox@14422 42 cp -a $install/usr/lib/elementary $fs/usr/lib
domcox@14422 43 rm -f $fs/usr/lib/*/modules/*/*/*.la
pankso@13645 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13645 45 # Package: libelementary
pankso@13645 46 rm -f $fs/usr/lib/libelementary.so.*
pankso@16141 47 # share
pankso@16141 48 cp -a $install/usr/share/elementary $fs/usr/share
pankso@4767 49 }