wok-next annotate mc/receipt @ rev 20866
mono: fix build by not enabling Spectre mitigation
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 01 23:19:43 2018 +0300 (2018-07-01) |
parents | 757d032c55c7 |
children | e7a485521d6a |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
erjo@151 | 2 |
erjo@151 | 3 PACKAGE="mc" |
al@20659 | 4 VERSION="4.8.20" |
pankso@202 | 5 CATEGORY="system-tools" |
al@20534 | 6 SHORT_DESC="Midnight Commander - ncurses based file manager" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19605 | 9 WEB_SITE="http://midnight-commander.org/" |
al@20659 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/mc.html" |
pascal@14999 | 11 |
al@19605 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19605 | 13 WGET_URL="http://ftp.midnight-commander.org/$TARBALL" |
al@19605 | 14 |
al@20659 | 15 BUILD_DEPENDS="check-dev glib-dev gettext gpm-dev libssh2-dev" |
al@19605 | 16 |
al@19605 | 17 COOKOPTS="!menus" |
erjo@151 | 18 |
al@20534 | 19 compile_rules() { |
pankso@16181 | 20 ./configure \ |
al@19605 | 21 --enable-charset \ |
pankso@16181 | 22 --with-gpm-mouse \ |
pankso@16181 | 23 --with-screen=ncurses \ |
pankso@16181 | 24 $CONFIGURE_ARGS && |
al@20659 | 25 fix libtool && |
al@20534 | 26 make && |
al@20659 | 27 make install || return 1 |
psychomaniak@18572 | 28 |
al@20659 | 29 install -Dm644 /usr/share/terminfo/s/screen-256color \ |
al@20659 | 30 $install/usr/share/terminfo/s/screen-256color |
al@19605 | 31 |
al@20659 | 32 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop |
al@20659 | 33 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop |
al@20659 | 34 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh |
erjo@151 | 35 } |
erjo@151 | 36 |
al@20534 | 37 genpkg_rules() { |
al@20659 | 38 copy @std |
al@20659 | 39 DEPENDS="glib libssh2 ncurses" |
al@20659 | 40 SUGGESTED="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv \ |
al@20659 | 41 poppler-apps file" |
al@20534 | 42 TAGS="file-manager text-editor" |
erjo@151 | 43 } |