wok-current view mc/receipt @ rev 15742
Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 14:50:15 2014 +0100 (2014-01-02) |
parents | bf132a571d0a |
children | 48074f4f2f61 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.7"
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"
13 DEPENDS="ncursesw glib e2fsprogs"
14 SUGGESTED="gpm glib"
15 BUILD_DEPENDS="pkg-config gpm-dev glib-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --with-gpm-mouse \
23 --with-screen=ncurses \
24 --infodir=/usr/share/info \
25 --libexecdir=/usr/lib \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/locale $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
41 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
42 cp $stuff/mc.desktop $fs/usr/share/applications
43 }