wok-current diff clex/receipt @ rev 13812
fox: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 10:57:03 2013 +0100 (2013-01-06) |
parents | 89193566dcbe |
children | 380ffe05937a |
line diff
1.1 --- a/clex/receipt Sat May 21 18:37:42 2011 +0000 1.2 +++ b/clex/receipt Sun Jan 06 10:57:03 2013 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="clex" 1.7 -VERSION="4.5" 1.8 +VERSION="4.6.patch5" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Text mode file manager." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,6 +9,7 @@ 1.13 WEB_SITE="http://www.clex.sk/" 1.14 WGET_URL="http://www.clex.sk/download/$TARBALL" 1.15 TAGS="file-manager" 1.16 +HOST_ARCH="i486 arm" 1.17 1.18 DEPENDS="ncurses" 1.19 BUILD_DEPENDS="ncurses-dev" 1.20 @@ -17,7 +18,12 @@ 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 - ./configure $CONFIGURE_ARGS && 1.25 + case "$ARCH" in 1.26 + arm) 1.27 + sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \ 1.28 + src/util.c ;; 1.29 + esac 1.30 + ./configure $CONFIGURE_ARGS && 1.31 make && make install 1.32 } 1.33 1.34 @@ -25,6 +31,6 @@ 1.35 genpkg_rules() 1.36 { 1.37 mkdir -p $fs/etc $fs/usr/bin 1.38 - cp -a $_pkg/usr/bin/* $fs/usr/bin 1.39 + cp -a $install/usr/bin/* $fs/usr/bin 1.40 cp -a $stuff/skel $fs/etc 1.41 }