wok-current view clex/receipt @ rev 14442
Up dropbear (2013.58)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 26 13:24:00 2013 +0200 (2013-04-26) |
parents | 89193566dcbe |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.clex.sk/"
10 WGET_URL="http://www.clex.sk/download/$TARBALL"
11 TAGS="file-manager"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 case "$ARCH" in
22 arm)
23 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
24 src/util.c ;;
25 esac
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc $fs/usr/bin
34 cp -a $install/usr/bin/* $fs/usr/bin
35 cp -a $stuff/skel $fs/etc
36 }