wok-current annotate mc/receipt @ rev 17787
Up: libvpx 1.3.0
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 21:46:19 2015 +0000 (2015-03-14) |
parents | 108901a0f197 |
children | c7d47ca7fed5 |
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" |
al@17501 | 12 TAGS="file-manager text-editor" |
pankso@16181 | 13 HOST_ARCH="i486 arm" |
pascal@14999 | 14 |
pankso@16181 | 15 SUGGESTED="gpm" |
slaxemulator@12996 | 16 DEPENDS="ncursesw glib e2fsprogs" |
pankso@16181 | 17 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev" |
psychomaniak@17254 | 18 GENERIC_MENUS="no" |
erjo@151 | 19 |
erjo@151 | 20 # Rules to configure and make the package. |
erjo@151 | 21 compile_rules() |
erjo@151 | 22 { |
pankso@16181 | 23 ./configure \ |
pankso@16181 | 24 --prefix=/usr \ |
pankso@16181 | 25 --with-gpm-mouse \ |
pankso@16181 | 26 --with-screen=ncurses \ |
pankso@16181 | 27 --libexecdir=/usr/lib \ |
pankso@16181 | 28 --sysconfdir=/etc \ |
pankso@16181 | 29 $CONFIGURE_ARGS && |
pankso@16181 | 30 make && make install |
erjo@151 | 31 } |
erjo@151 | 32 |
psychomaniak@17254 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp |
erjo@151 | 34 genpkg_rules() |
erjo@151 | 35 { |
psychomaniak@17254 | 36 mkdir -p $fs/usr/share/applications |
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 |
psychomaniak@17254 | 41 |
psychomaniak@17255 | 42 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax |
psychomaniak@17254 | 43 cp -a $stuff/*.desktop $fs/usr/share/applications |
psychomaniak@17254 | 44 chown -R root:root $fs |
erjo@151 | 45 } |