wok-6.x diff mc/receipt @ rev 200
Old category devel moved to development
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 00:25:19 2008 +0100 (2008-02-13) |
parents | |
children | 4615573735e2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mc/receipt Wed Feb 13 00:25:19 2008 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 +# 1.6 + 1.7 +PACKAGE="mc" 1.8 +VERSION="4.6.1" 1.9 +CATEGORY="extra" 1.10 +SHORT_DESC="Midnight Commander - ncurses based file manager." 1.11 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.12 +DEPENDS="ncurses" 1.13 +BUILD_DEPENDS="ncurses-dev glib-dev" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://www.ibiblio.org/mc/" 1.16 +WGET_URL="http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr \ 1.23 + --with-screen=ncurses \ 1.24 + --infodir=/usr/share/info \ 1.25 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.26 + make 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/share/locale 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/lib $fs/usr 1.36 + cp -a $_pkg/usr/share/mc $fs/usr/share 1.37 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.38 + strip -s $fs/usr/bin/* 1.39 + strip -s $fs/usr/lib/mc/* 1.40 +} 1.41 +