wok-current view clex/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | b8182717ebb1 |
children | bb4b904c1a95 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clex"
4 VERSION="4.6.patch9"
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"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 case "$ARCH" in
23 arm)
24 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
25 src/util.c ;;
26 esac
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc $fs/usr/bin
37 cp -a $install/usr/bin/* $fs/usr/bin
38 cp -a $stuff/skel $fs/etc
39 }