wok-next annotate clex/receipt @ rev 16144
efreet-dev: sync version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 10:19:52 2014 +0100 (2014-03-26) |
parents | 380ffe05937a |
children | 8f50006d2661 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="clex" |
pankso@15797 | 4 VERSION="4.6.patch6" |
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@15797 | 15 DEPENDS="ncursesw" |
pankso@15797 | 16 BUILD_DEPENDS="ncursesw-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 } |