wok-next annotate mc/receipt @ rev 12207
Up slitaz-boot-scripts (4.7.1) fix 256Mb ram case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 30 00:41:00 2012 +0200 (2012-03-30) |
parents | 0686ab55b55a |
children | 025fc3ab8780 |
rev | line source |
---|---|
erjo@151 | 1 # SliTaz package receipt. |
erjo@151 | 2 |
erjo@151 | 3 PACKAGE="mc" |
pascal@11616 | 4 VERSION="4.7.5.6" |
pankso@202 | 5 CATEGORY="system-tools" |
erjo@151 | 6 SHORT_DESC="Midnight Commander - ncurses based file manager." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@9215 | 8 DEPENDS="ncursesw glib e2fsprogs" |
pascal@11616 | 9 SUGGESTED="gpm" |
pascal@11615 | 10 BUILD_DEPENDS="pkg-config gpm-dev" |
pascal@11616 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
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 \ |
pascal@11615 | 20 --with-gpm-mouse \ |
erjo@151 | 21 --with-screen=ncurses \ |
erjo@151 | 22 --infodir=/usr/share/info \ |
erjo@4666 | 23 --libexecdir=/usr/lib \ |
erjo@4729 | 24 --sysconfdir=/etc \ |
pascal@2435 | 25 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2435 | 26 make && |
erjo@151 | 27 make DESTDIR=$PWD/_pkg install |
erjo@151 | 28 } |
erjo@151 | 29 |
erjo@151 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@151 | 31 genpkg_rules() |
erjo@151 | 32 { |
pascal@1340 | 33 mkdir -p $fs/usr/share/locale $fs/usr/share/applications |
erjo@4729 | 34 |
erjo@4729 | 35 cp -a $_pkg/etc $fs/ |
erjo@151 | 36 cp -a $_pkg/usr/bin $fs/usr |
erjo@151 | 37 cp -a $_pkg/usr/lib $fs/usr |
erjo@151 | 38 cp -a $_pkg/usr/share/mc $fs/usr/share |
erjo@151 | 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@1340 | 40 cp stuff/mc.desktop $fs/usr/share/applications |
erjo@151 | 41 } |
erjo@151 | 42 |