wok-6.x view mc/receipt @ rev 10110

Up: midori to 0.3.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 15:30:13 2011 +0000 (2011-05-20)
parents d9b127d0b11a
children 0686ab55b55a
line source
1 # SliTaz package receipt.
2 #
4 PACKAGE="mc"
5 VERSION="4.7.5.2"
6 CATEGORY="system-tools"
7 SHORT_DESC="Midnight Commander - ncurses based file manager."
8 MAINTAINER="erjo@slitaz.org"
9 DEPENDS="ncursesw glib e2fsprogs"
10 BUILD_DEPENDS="pkg-config"
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 --sysconfdir=/etc \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
34 cp -a $_pkg/etc $fs/
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 cp -a $_pkg/usr/share/mc $fs/usr/share
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 cp stuff/mc.desktop $fs/usr/share/applications
40 }