wok-6.x annotate mc/receipt @ rev 10956
Up: wireshark to 1.6.2. Add libpcap to depends. Security update.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Sep 19 05:10:46 2011 +0000 (2011-09-19) |
parents | d9b127d0b11a |
children | 0686ab55b55a |
rev | line source |
---|---|
erjo@151 | 1 # SliTaz package receipt. |
erjo@151 | 2 # |
erjo@151 | 3 |
erjo@151 | 4 PACKAGE="mc" |
slaxemulator@9567 | 5 VERSION="4.7.5.2" |
pankso@202 | 6 CATEGORY="system-tools" |
erjo@151 | 7 SHORT_DESC="Midnight Commander - ncurses based file manager." |
erjo@784 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@9215 | 9 DEPENDS="ncursesw glib e2fsprogs" |
pascal@9215 | 10 BUILD_DEPENDS="pkg-config" |
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 \ |
erjo@4729 | 23 --sysconfdir=/etc \ |
pascal@2435 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2435 | 25 make && |
erjo@151 | 26 make DESTDIR=$PWD/_pkg install |
erjo@151 | 27 } |
erjo@151 | 28 |
erjo@151 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@151 | 30 genpkg_rules() |
erjo@151 | 31 { |
pascal@1340 | 32 mkdir -p $fs/usr/share/locale $fs/usr/share/applications |
erjo@4729 | 33 |
erjo@4729 | 34 cp -a $_pkg/etc $fs/ |
erjo@151 | 35 cp -a $_pkg/usr/bin $fs/usr |
erjo@151 | 36 cp -a $_pkg/usr/lib $fs/usr |
erjo@151 | 37 cp -a $_pkg/usr/share/mc $fs/usr/share |
erjo@151 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@1340 | 39 cp stuff/mc.desktop $fs/usr/share/applications |
erjo@151 | 40 } |
erjo@151 | 41 |