wok-current view ethumb/receipt @ rev 25365
cpige: apply gibor patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 15:03:09 2022 +0000 (2022-07-28) |
parents | b01314c762e9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethumb"
4 VERSION="1.7.10"
5 CATEGORY="graphics"
6 SHORT_DESC="EFL Thumbnail generation library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/__old/att/releases/$TARBALL"
12 TAGS="e enlightenment efl"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet ecore eio evas edje embryo emotion eeze edbus libexif"
16 BUILD_DEPENDS="eet-dev ecore-dev eio-dev evas-dev edje-dev embryo-dev \
17 eeze-dev emotion-dev edbus-dev libexif-dev lua-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://git.enlightenment.org/legacy/ethumb.git/ 2>/dev/null | \
23 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --disable-doc \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/ethumb $fs/usr/lib
43 cp -a $install/usr/share $fs/usr
44 }