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

mc: patch syntax-hl,add subox launcher; pango: fix path
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Oct 20 19:58:54 2014 +0200 (2014-10-20)
parents e2bf947347eb
children 108901a0f197
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.13"
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"
17 GENERIC_MENUS="no"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed 's#|profile|#&receipt|#' -i $src/misc/syntax/Syntax
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. --enable-vfs-sftp
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 cp -a $stuff/*.desktop $fs/usr/share/applications
44 chown -R root:root $fs
45 }