wok-6.x view clex/receipt @ rev 19158
mesa*: fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 25 23:07:05 2016 +0200 (2016-05-25) |
parents | 380ffe05937a |
children | b8182717ebb1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clex"
4 VERSION="4.6.patch6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Text mode file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.clex.sk/"
11 WGET_URL="http://www.clex.sk/download/$TARBALL"
12 TAGS="file-manager"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 case "$ARCH" in
23 arm)
24 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
25 src/util.c ;;
26 esac
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc $fs/usr/bin
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $stuff/skel $fs/etc
37 }