wok-next view mc/receipt @ rev 17114

juffed: /git/stable/
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 02 19:31:28 2014 +0200 (2014-09-02)
parents 9dc1ed63b421
children e2bf947347eb
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Midnight Commander - ncurses based file manager."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.midnight-commander.org/"
11 WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="gpm"
15 DEPENDS="ncursesw glib e2fsprogs"
16 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --with-gpm-mouse \
24 --with-screen=ncurses \
25 --libexecdir=/usr/lib \
26 --sysconfdir=/etc \
27 $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/usr/share
35 cp -a $install/etc $fs/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/mc $fs/usr/share
39 }