wok-stable view mc/receipt @ rev 3195
Udev: fix group path in receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 27 11:52:33 2009 +0200 (2009-05-27) |
parents | 7adc35b2c7cd |
children | c2067dffc72c |
line source
1 # SliTaz package receipt.
2 #
4 PACKAGE="mc"
5 VERSION="4.6.1"
6 CATEGORY="system-tools"
7 SHORT_DESC="Midnight Commander - ncurses based file manager."
8 MAINTAINER="erjo@slitaz.org"
9 DEPENDS="ncurses glib e2fsprogs libiconv libkrb5 krb5"
10 BUILD_DEPENDS="ncurses-dev glib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.ibiblio.org/mc/"
13 WGET_URL="http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/$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 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share/mc $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp stuff/mc.desktop $fs/usr/share/applications
36 strip -s $fs/usr/bin/*
37 strip -s $fs/usr/lib/mc/*
38 }