wok-next annotate mc/receipt @ rev 21277
geeqie: replaced lua by lua51
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:00:59 2019 +0100 (2019-12-07) |
parents | 6f5739796e82 |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
erjo@151 | 2 |
erjo@151 | 3 PACKAGE="mc" |
al@21105 | 4 VERSION="4.8.22" |
pankso@202 | 5 CATEGORY="system-tools" |
al@20534 | 6 SHORT_DESC="Midnight Commander - ncurses based file manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@19605 | 9 WEB_SITE="http://midnight-commander.org/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21105 | 14 TARBALL_SHA1="5a207973a69269e6bdc9a7e4e989a8acfb4a46af" |
al@19605 | 15 |
al@21020 | 16 BUILD_DEPENDS="check-dev glib-dev gettext-dev gpm-dev libssh2-dev" |
al@21020 | 17 SPLIT="$PACKAGE-noarch" |
al@19605 | 18 |
al@19605 | 19 COOKOPTS="!menus" |
erjo@151 | 20 |
al@21105 | 21 COPY_std="mc mcdiff mcedit mcview cons.saver" |
al@21105 | 22 COPY_noarch="@std @rm" |
al@21105 | 23 |
al@21105 | 24 DEPENDS_std="$PACKAGE-noarch glib libssh2 ncurses" |
al@21105 | 25 |
al@21105 | 26 CAT_noarch="system-tools|common files" |
al@21105 | 27 |
al@21105 | 28 SUGGESTED_std="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv poppler file" |
al@21105 | 29 TAGS_std="file-manager text-editor" |
al@21105 | 30 |
al@20534 | 31 compile_rules() { |
pankso@16181 | 32 ./configure \ |
al@19605 | 33 --enable-charset \ |
pankso@16181 | 34 --with-gpm-mouse \ |
pankso@16181 | 35 --with-screen=ncurses \ |
pankso@16181 | 36 $CONFIGURE_ARGS && |
al@20659 | 37 fix libtool && |
al@20534 | 38 make && |
al@20659 | 39 make install || return 1 |
psychomaniak@18572 | 40 |
al@20659 | 41 install -Dm644 /usr/share/terminfo/s/screen-256color \ |
al@20659 | 42 $install/usr/share/terminfo/s/screen-256color |
al@19605 | 43 |
al@20659 | 44 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop |
al@20659 | 45 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop |
al@20659 | 46 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh |
erjo@151 | 47 } |