wok annotate clex/receipt @ rev 14618
mc: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 09:59:57 2013 +0000 (2013-06-01) |
parents | 89193566dcbe |
children | 380ffe05937a |
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" |
pankso@7 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 9 WEB_SITE="http://www.clex.sk/" |
pankso@7 | 10 WGET_URL="http://www.clex.sk/download/$TARBALL" |
jozee@4933 | 11 TAGS="file-manager" |
pankso@12922 | 12 HOST_ARCH="i486 arm" |
pankso@7 | 13 |
pankso@9780 | 14 DEPENDS="ncurses" |
pankso@9780 | 15 BUILD_DEPENDS="ncurses-dev" |
pankso@9780 | 16 |
pankso@7 | 17 # Rules to configure and make the package. |
pankso@7 | 18 compile_rules() |
pankso@7 | 19 { |
pankso@890 | 20 cd $src |
pankso@12922 | 21 case "$ARCH" in |
pankso@12922 | 22 arm) |
pankso@12922 | 23 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \ |
pankso@12922 | 24 src/util.c ;; |
pankso@12922 | 25 esac |
pankso@12922 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10294 | 27 make && make install |
pankso@7 | 28 } |
pankso@7 | 29 |
pankso@7 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 31 genpkg_rules() |
pankso@7 | 32 { |
pankso@890 | 33 mkdir -p $fs/etc $fs/usr/bin |
pankso@12922 | 34 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@9697 | 35 cp -a $stuff/skel $fs/etc |
pankso@7 | 36 } |