wok annotate clex/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents 453c249b6219
children fe1b5660fdd1
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="clex"
pascal@25436 4 VERSION="4.7"
pankso@202 5 CATEGORY="system-tools"
Hans-G?nter@20792 6 TAGS="file-manager"
pankso@7 7 SHORT_DESC="Text mode file manager."
pankso@7 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@20792 10 WEB_SITE="http://www.clex.sk/"
Hans-G?nter@20792 11
pankso@7 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25436 13 WGET_URL="https://github.com/xitop/clex/releases/download/v$VERSION/$TARBALL"
pankso@7 14
pankso@15797 15 DEPENDS="ncursesw"
pankso@15797 16 BUILD_DEPENDS="ncursesw-dev"
Hans-G?nter@24424 17
Hans-G?nter@20792 18 HOST_ARCH="i486 arm"
pankso@9780 19
pascal@24425 20 # What is the latest version available today?
pascal@24425 21 current_version()
pascal@24425 22 {
pascal@25436 23 wget -O - ${WGET_URL%/download*} 2>/dev/null | \
pascal@25436 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24425 25 }
pascal@24425 26
pankso@7 27 # Rules to configure and make the package.
pankso@7 28 compile_rules()
pankso@7 29 {
pankso@12922 30 case "$ARCH" in
pankso@12922 31 arm)
pankso@12922 32 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
pankso@12922 33 src/util.c ;;
pankso@12922 34 esac
Hans-G?nter@20792 35
pankso@12922 36 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@20792 37 make &&
Hans-G?nter@20792 38 make install
pankso@7 39 }
pankso@7 40
pankso@7 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 42 genpkg_rules()
pankso@7 43 {
Hans-G?nter@24424 44 mkdir -p $fs/etc
Hans-G?nter@24424 45
Hans-G?nter@24424 46 cp -a $stuff/skel $fs/etc
Hans-G?nter@24424 47 cook_copy_folders bin
pankso@7 48 }