wok-6.x view clex/receipt @ rev 24528

updated exiv2 and exiv2-dev (0.27.3 -> 0.27.5)
author Hans-G?nter Theisgen
date Wed Feb 23 07:22:56 2022 +0100 (2022-02-23)
parents bb4b904c1a95
children 01119cbefbc3
line source
1 # SliTaz package receipt.
3 PACKAGE="clex"
4 VERSION="4.6.patch10"
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="http://www.clex.sk/download/$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%/*} 2>/dev/null | \
24 sed '/help/d;/clex-/!d;/tar/!d;s|.*clex-\(.*\).tar.*|\1|' | sort -Vr | sed 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 }