wok-next annotate mc/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 5fac1a2da249 |
children | 6f5739796e82 |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
erjo@151 | 2 |
erjo@151 | 3 PACKAGE="mc" |
al@20905 | 4 VERSION="4.8.21" |
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@19605 | 14 |
al@21020 | 15 BUILD_DEPENDS="check-dev glib-dev gettext-dev gpm-dev libssh2-dev" |
al@21020 | 16 SPLIT="$PACKAGE-noarch" |
al@19605 | 17 |
al@19605 | 18 COOKOPTS="!menus" |
erjo@151 | 19 |
al@20534 | 20 compile_rules() { |
pankso@16181 | 21 ./configure \ |
al@19605 | 22 --enable-charset \ |
pankso@16181 | 23 --with-gpm-mouse \ |
pankso@16181 | 24 --with-screen=ncurses \ |
pankso@16181 | 25 $CONFIGURE_ARGS && |
al@20659 | 26 fix libtool && |
al@20534 | 27 make && |
al@20659 | 28 make install || return 1 |
psychomaniak@18572 | 29 |
al@20659 | 30 install -Dm644 /usr/share/terminfo/s/screen-256color \ |
al@20659 | 31 $install/usr/share/terminfo/s/screen-256color |
al@19605 | 32 |
al@20659 | 33 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop |
al@20659 | 34 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop |
al@20659 | 35 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh |
erjo@151 | 36 } |
erjo@151 | 37 |
al@20534 | 38 genpkg_rules() { |
al@20947 | 39 case $PACKAGE in |
al@20947 | 40 mc) |
al@20947 | 41 copy mc mcdiff mcedit mcview cons.saver |
al@20947 | 42 DEPENDS="glib libssh2 ncurses" |
al@20947 | 43 SUGGESTED="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv \ |
al@20947 | 44 poppler-apps file" |
al@20947 | 45 TAGS="file-manager text-editor" |
al@20947 | 46 ;; |
al@20947 | 47 mc-noarch) |
al@20947 | 48 copy @std @rm |
al@20947 | 49 CAT="system-tools|common files" |
al@20947 | 50 ;; |
al@20947 | 51 esac |
erjo@151 | 52 } |