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