wok annotate mc/receipt @ rev 15416

Up: thunderbird-langpack-en_US (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:37 2013 +0100 (2013-11-03)
parents bf132a571d0a
children 48074f4f2f61
rev   line source
erjo@151 1 # SliTaz package receipt.
erjo@151 2
erjo@151 3 PACKAGE="mc"
devl547@13745 4 VERSION="4.8.7"
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"
pascal@14999 12
slaxemulator@12996 13 DEPENDS="ncursesw glib e2fsprogs"
slaxemulator@12996 14 SUGGESTED="gpm glib"
slaxemulator@12996 15 BUILD_DEPENDS="pkg-config gpm-dev glib-dev ncurses-dev"
erjo@151 16
erjo@151 17 # Rules to configure and make the package.
erjo@151 18 compile_rules()
erjo@151 19 {
erjo@151 20 cd $src
erjo@151 21 ./configure --prefix=/usr \
pascal@11615 22 --with-gpm-mouse \
erjo@151 23 --with-screen=ncurses \
erjo@151 24 --infodir=/usr/share/info \
erjo@4666 25 --libexecdir=/usr/lib \
erjo@4729 26 --sysconfdir=/etc \
pascal@2435 27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2435 28 make &&
slaxemulator@12343 29 make DESTDIR=$DESTDIR install
erjo@151 30 }
erjo@151 31
erjo@151 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@151 33 genpkg_rules()
erjo@151 34 {
pascal@1340 35 mkdir -p $fs/usr/share/locale $fs/usr/share/applications
erjo@4729 36
slaxemulator@14618 37 cp -a $install/etc $fs/
slaxemulator@14618 38 cp -a $install/usr/bin $fs/usr
slaxemulator@14618 39 cp -a $install/usr/lib $fs/usr
slaxemulator@14618 40 cp -a $install/usr/share/mc $fs/usr/share
slaxemulator@14618 41 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
slaxemulator@12343 42 cp $stuff/mc.desktop $fs/usr/share/applications
erjo@151 43 }
erjo@151 44