wok-6.x view terminology/receipt @ rev 24699
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 19:47:29 2022 +0000 (2022-03-13) |
parents | 86790a278e70 |
children | 3258d19b6f6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="terminology"
4 VERSION="0.3.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Terminology is a terminal emulator with innovative features."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.enlightenment.org/"
10 TARBALL="$PACKAGE-${VERSION}.tar.bz2"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment terminal"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="elementary ethumb"
16 BUILD_DEPENDS="elementary-dev ethumb-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://download.enlightenment.org/rel/apps/terminology/ 2>/dev/null | \
22 sed '/terminology-[0-9]/!d;/a[0-9].tar/d;s|.*terminology-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CFLAGS="$CFLAGS -fvisibility=hidden"
29 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
30 ./configure \
31 -with-maximum-log-level=1 \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }