wok-6.x view mc/receipt @ rev 17724
glibc: accept make 4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 19:08:32 2015 +0100 (2015-03-05) |
parents | 108901a0f197 |
children | c7d47ca7fed5 |
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 TAGS="file-manager text-editor"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="gpm"
16 DEPENDS="ncursesw glib e2fsprogs"
17 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
18 GENERIC_MENUS="no"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --with-gpm-mouse \
26 --with-screen=ncurses \
27 --libexecdir=/usr/lib \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications
37 cp -a $install/etc $fs/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/mc $fs/usr/share
42 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
43 cp -a $stuff/*.desktop $fs/usr/share/applications
44 chown -R root:root $fs
45 }