wok annotate clex/receipt @ rev 25267

Update some deps using gcc83-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 08:24:48 2022 +0000 (2022-07-17)
parents bb4b904c1a95
children 01119cbefbc3
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="clex"
Hans-G?nter@24424 4 VERSION="4.6.patch10"
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"
pankso@7 13 WGET_URL="http://www.clex.sk/download/$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@24425 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 24 sed '/help/d;/clex-/!d;/tar/!d;s|.*clex-\(.*\).tar.*|\1|' | sort -Vr | sed 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 }