wok view mc/receipt @ rev 4721

Up: libboost-* (1.41.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 14:59:14 2010 +0100 (2010-01-05)
parents bac358cff06c
children a03f00dcfb37
line source
1 # SliTaz package receipt.
2 #
4 PACKAGE="mc"
5 VERSION="4.7.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="Midnight Commander - ncurses based file manager."
8 MAINTAINER="erjo@slitaz.org"
9 DEPENDS="ncurses glib e2fsprogs libkrb5 krb5"
10 BUILD_DEPENDS="ncurses-dev glib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.midnight-commander.org/"
13 WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --with-screen=ncurses \
21 --infodir=/usr/share/info \
22 --libexecdir=/usr/lib \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/mc $fs/usr/share
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp stuff/mc.desktop $fs/usr/share/applications
38 cp -a $src/misc/*.menu $fs/usr/share/mc
39 }