wok-6.x view mc/receipt @ rev 17434
Up: wv (1.2.9)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Dec 07 11:41:39 2014 +0100 (2014-12-07) |
parents | 3ba86ab5ebce |
children | 5d53e8ccbc8d |
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 ./configure \
23 --prefix=/usr \
24 --with-gpm-mouse \
25 --with-screen=ncurses \
26 --libexecdir=/usr/lib \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications
36 cp -a $install/etc $fs/
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/mc $fs/usr/share
41 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
42 cp -a $stuff/*.desktop $fs/usr/share/applications
43 chown -R root:root $fs
44 }