wok view workerfm/receipt @ rev 24535

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 11:49:52 2022 +0000 (2022-02-23)
parents 02fd259b363c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="workerfm"
4 VERSION="4.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A light and easy to use file manager."
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.boomerangsworld.de/cms/worker/"
11 SOURCE="worker"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$WEB_SITE/downloads/$TARBALL"
15 DEPENDS="avfs dbus-glib freetype gcc83-lib-base hal
16 libmagic xorg-libX11 xorg-libXft xorg-libXinerama
17 xorg-xmessage"
18 BUILD_DEPENDS="avfs-dev dbus-glib-dev freetype-dev gcc83
19 hal-dev libmagic-dev liblzma-dev util-linux-uuid-dev
20 xorg-libX11-dev xorg-libXft-dev xorg-libXinerama-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed '/worker-[0-9]/!d;s|.*worker-||;s|.tar.*||' | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 export CC=gcc-83
33 export CXX=g++-83
35 ./configure \
36 --disable-silent-rules \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share $fs/usr
49 }