wok view mc/receipt @ rev 17889

Up qemu-* (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:18:25 2015 +0200 (2015-04-02)
parents c7d47ca7fed5
children 702e87e36a56
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.14"
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 TAGS="file-manager text-editor"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="gpm"
16 DEPENDS="ncursesw glib e2fsprogs util-linux-blkid"
17 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev util-linux-mount-dev \
18 util-linux-blkid-dev util-linux-uuid-dev"
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --with-gpm-mouse \
27 --with-screen=ncurses \
28 --libexecdir=/usr/lib \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications
38 cp -a $install/etc $fs/
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share/mc $fs/usr/share
43 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
44 cp -a $stuff/*.desktop $fs/usr/share/applications
45 chown -R root:root $fs
46 }