wok annotate mc/receipt @ rev 1040

Add get-wifi-firmware
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 11 15:12:13 2008 +0000 (2008-07-11)
parents 4615573735e2
children 6a3b6976071a
rev   line source
erjo@151 1 # SliTaz package receipt.
erjo@151 2 #
erjo@151 3
erjo@151 4 PACKAGE="mc"
erjo@151 5 VERSION="4.6.1"
pankso@202 6 CATEGORY="system-tools"
erjo@151 7 SHORT_DESC="Midnight Commander - ncurses based file manager."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
erjo@151 9 DEPENDS="ncurses"
erjo@151 10 BUILD_DEPENDS="ncurses-dev glib-dev"
erjo@151 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@151 12 WEB_SITE="http://www.ibiblio.org/mc/"
erjo@151 13 WGET_URL="http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/$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@151 22 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@151 23 make
erjo@151 24 make DESTDIR=$PWD/_pkg install
erjo@151 25 }
erjo@151 26
erjo@151 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@151 28 genpkg_rules()
erjo@151 29 {
erjo@151 30 mkdir -p $fs/usr/share/locale
erjo@151 31 cp -a $_pkg/usr/bin $fs/usr
erjo@151 32 cp -a $_pkg/usr/lib $fs/usr
erjo@151 33 cp -a $_pkg/usr/share/mc $fs/usr/share
erjo@151 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@151 35 strip -s $fs/usr/bin/*
erjo@151 36 strip -s $fs/usr/lib/mc/*
erjo@151 37 }
erjo@151 38