wok-next view clex/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 8f50006d2661 |
children | b84b01f3048e |
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"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 case "$ARCH" in
22 arm)
23 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
24 src/util.c ;;
25 esac
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc $fs/usr/bin
34 cp -a $install/usr/bin/* $fs/usr/bin
35 cp -a $stuff/skel $fs/etc
36 }