wok annotate 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
rev   line source
erjo@151 1 # SliTaz package receipt.
erjo@151 2 #
erjo@151 3
erjo@151 4 PACKAGE="mc"
erjo@4666 5 VERSION="4.7.0"
pankso@202 6 CATEGORY="system-tools"
erjo@151 7 SHORT_DESC="Midnight Commander - ncurses based file manager."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
pankso@3428 9 DEPENDS="ncurses glib e2fsprogs libkrb5 krb5"
erjo@151 10 BUILD_DEPENDS="ncurses-dev glib-dev"
erjo@151 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3428 12 WEB_SITE="http://www.midnight-commander.org/"
pankso@3428 13 WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
erjo@151 14
erjo@151 15 # Rules to configure and make the package.
erjo@151 16 compile_rules()
erjo@151 17 {
erjo@151 18 cd $src
erjo@151 19 ./configure --prefix=/usr \
erjo@151 20 --with-screen=ncurses \
erjo@151 21 --infodir=/usr/share/info \
erjo@4666 22 --libexecdir=/usr/lib \
pascal@2435 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2435 24 make &&
erjo@151 25 make DESTDIR=$PWD/_pkg install
erjo@151 26 }
erjo@151 27
erjo@151 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@151 29 genpkg_rules()
erjo@151 30 {
pascal@1340 31 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
erjo@151 32 cp -a $_pkg/usr/bin $fs/usr
erjo@151 33 cp -a $_pkg/usr/lib $fs/usr
erjo@151 34 cp -a $_pkg/usr/share/mc $fs/usr/share
erjo@151 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pascal@1340 36 cp stuff/mc.desktop $fs/usr/share/applications
erjo@4666 37
erjo@4666 38 cp -a $src/misc/*.menu $fs/usr/share/mc
erjo@151 39 }
erjo@151 40