wok-6.x annotate clex/receipt @ rev 15722
Move from undigest: poppler-qt4-apps varka varka-dev vifm tmux-mem-cpu-load
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 26 13:51:57 2013 +0000 (2013-12-26) |
parents | e356385983b9 |
children | dc40703067fc |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="clex" |
pankso@12922 | 4 VERSION="4.6.patch5" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@7 | 6 SHORT_DESC="Text mode file manager." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@7 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 10 WEB_SITE="http://www.clex.sk/" |
pankso@7 | 11 WGET_URL="http://www.clex.sk/download/$TARBALL" |
jozee@4933 | 12 TAGS="file-manager" |
pankso@12922 | 13 HOST_ARCH="i486 arm" |
pankso@7 | 14 |
pankso@9780 | 15 DEPENDS="ncurses" |
pankso@9780 | 16 BUILD_DEPENDS="ncurses-dev" |
pankso@9780 | 17 |
pankso@7 | 18 # Rules to configure and make the package. |
pankso@7 | 19 compile_rules() |
pankso@7 | 20 { |
pankso@890 | 21 cd $src |
pankso@12922 | 22 case "$ARCH" in |
pankso@12922 | 23 arm) |
pankso@12922 | 24 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \ |
pankso@12922 | 25 src/util.c ;; |
pankso@12922 | 26 esac |
pankso@12922 | 27 ./configure $CONFIGURE_ARGS && |
slaxemulator@10294 | 28 make && make install |
pankso@7 | 29 } |
pankso@7 | 30 |
pankso@7 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 32 genpkg_rules() |
pankso@7 | 33 { |
pankso@890 | 34 mkdir -p $fs/etc $fs/usr/bin |
pankso@12922 | 35 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@9697 | 36 cp -a $stuff/skel $fs/etc |
pankso@7 | 37 } |