wok annotate mc/receipt @ rev 16190

wbar2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 30 18:45:56 2014 +0000 (2014-03-30)
parents 48074f4f2f61
children a3cf28d410dc
rev   line source
erjo@151 1 # SliTaz package receipt.
erjo@151 2
erjo@151 3 PACKAGE="mc"
devl547@16178 4 VERSION="4.8.10"
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@14999 8 LICENSE="GPL3"
pascal@14999 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@14999 10 WEB_SITE="http://www.midnight-commander.org/"
pascal@14999 11 WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
pankso@16181 12 HOST_ARCH="i486 arm"
pascal@14999 13
pankso@16181 14 SUGGESTED="gpm"
slaxemulator@12996 15 DEPENDS="ncursesw glib e2fsprogs"
pankso@16181 16 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
erjo@151 17
erjo@151 18 # Rules to configure and make the package.
erjo@151 19 compile_rules()
erjo@151 20 {
pankso@16181 21 ./configure \
pankso@16181 22 --prefix=/usr \
pankso@16181 23 --with-gpm-mouse \
pankso@16181 24 --with-screen=ncurses \
pankso@16181 25 --libexecdir=/usr/lib \
pankso@16181 26 --sysconfdir=/etc \
pankso@16181 27 $CONFIGURE_ARGS &&
pankso@16181 28 make && make install
erjo@151 29 }
erjo@151 30
erjo@151 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@151 32 genpkg_rules()
erjo@151 33 {
pankso@16181 34 mkdir -p $fs/usr/share
slaxemulator@14618 35 cp -a $install/etc $fs/
slaxemulator@14618 36 cp -a $install/usr/bin $fs/usr
slaxemulator@14618 37 cp -a $install/usr/lib $fs/usr
slaxemulator@14618 38 cp -a $install/usr/share/mc $fs/usr/share
erjo@151 39 }