wok-6.x view mc/receipt @ rev 14640
Xorg. xorg-libXt: add glib-dev as bdeps; xorg-libXpm: reformat, move binaries to xorg-libXpm-util new package; xorg-libXaw: up 1.0.11.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 16:41:49 2013 +0000 (2013-06-02) |
parents | 5056100bfda3 |
children | 2b9f96603415 |
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 DEPENDS="ncursesw glib e2fsprogs"
9 SUGGESTED="gpm glib"
10 BUILD_DEPENDS="pkg-config gpm-dev glib-dev ncurses-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
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-gpm-mouse \
21 --with-screen=ncurses \
22 --infodir=/usr/share/info \
23 --libexecdir=/usr/lib \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
35 cp -a $install/etc $fs/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/mc $fs/usr/share
39 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
40 cp $stuff/mc.desktop $fs/usr/share/applications
41 }