wok annotate mc/receipt @ rev 17254
mc: patch syntax-hl,add subox launcher; pango: fix path
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Oct 20 19:58:54 2014 +0200 (2014-10-20) |
parents | e2bf947347eb |
children | 108901a0f197 |
rev | line source |
---|---|
erjo@151 | 1 # SliTaz package receipt. |
erjo@151 | 2 |
erjo@151 | 3 PACKAGE="mc" |
psychomaniak@17133 | 4 VERSION="4.8.13" |
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" |
psychomaniak@17254 | 17 GENERIC_MENUS="no" |
erjo@151 | 18 |
erjo@151 | 19 # Rules to configure and make the package. |
erjo@151 | 20 compile_rules() |
erjo@151 | 21 { |
psychomaniak@17254 | 22 sed 's#|profile|#&receipt|#' -i $src/misc/syntax/Syntax |
psychomaniak@17254 | 23 |
pankso@16181 | 24 ./configure \ |
pankso@16181 | 25 --prefix=/usr \ |
pankso@16181 | 26 --with-gpm-mouse \ |
pankso@16181 | 27 --with-screen=ncurses \ |
pankso@16181 | 28 --libexecdir=/usr/lib \ |
pankso@16181 | 29 --sysconfdir=/etc \ |
pankso@16181 | 30 $CONFIGURE_ARGS && |
pankso@16181 | 31 make && make install |
erjo@151 | 32 } |
erjo@151 | 33 |
psychomaniak@17254 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp |
erjo@151 | 35 genpkg_rules() |
erjo@151 | 36 { |
psychomaniak@17254 | 37 mkdir -p $fs/usr/share/applications |
slaxemulator@14618 | 38 cp -a $install/etc $fs/ |
slaxemulator@14618 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@14618 | 40 cp -a $install/usr/lib $fs/usr |
slaxemulator@14618 | 41 cp -a $install/usr/share/mc $fs/usr/share |
psychomaniak@17254 | 42 |
psychomaniak@17254 | 43 cp -a $stuff/*.desktop $fs/usr/share/applications |
psychomaniak@17254 | 44 chown -R root:root $fs |
erjo@151 | 45 } |