wok-6.x view clex/receipt @ rev 15321
icewm: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 19:00:38 2013 +0000 (2013-09-27) |
parents | e356385983b9 |
children | dc40703067fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="clex"
4 VERSION="4.6.patch5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Text mode file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.clex.sk/"
11 WGET_URL="http://www.clex.sk/download/$TARBALL"
12 TAGS="file-manager"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 case "$ARCH" in
23 arm)
24 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
25 src/util.c ;;
26 esac
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc $fs/usr/bin
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $stuff/skel $fs/etc
37 }