wok-6.x view mc/receipt @ rev 16681

Create some /var/run/<dir> in /etc/init.d/<daemon> scritps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 18 20:24:07 2014 +0000 (2014-05-18)
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 }