wok-current annotate mc/receipt @ rev 17407
ola: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 18:21:40 2014 +0100 (2014-11-28) |
parents | 3ba86ab5ebce |
children | 5d53e8ccbc8d |
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 { |
pankso@16181 | 22 ./configure \ |
pankso@16181 | 23 --prefix=/usr \ |
pankso@16181 | 24 --with-gpm-mouse \ |
pankso@16181 | 25 --with-screen=ncurses \ |
pankso@16181 | 26 --libexecdir=/usr/lib \ |
pankso@16181 | 27 --sysconfdir=/etc \ |
pankso@16181 | 28 $CONFIGURE_ARGS && |
pankso@16181 | 29 make && make install |
erjo@151 | 30 } |
erjo@151 | 31 |
psychomaniak@17254 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp |
erjo@151 | 33 genpkg_rules() |
erjo@151 | 34 { |
psychomaniak@17254 | 35 mkdir -p $fs/usr/share/applications |
slaxemulator@14618 | 36 cp -a $install/etc $fs/ |
slaxemulator@14618 | 37 cp -a $install/usr/bin $fs/usr |
slaxemulator@14618 | 38 cp -a $install/usr/lib $fs/usr |
slaxemulator@14618 | 39 cp -a $install/usr/share/mc $fs/usr/share |
psychomaniak@17254 | 40 |
psychomaniak@17255 | 41 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax |
psychomaniak@17254 | 42 cp -a $stuff/*.desktop $fs/usr/share/applications |
psychomaniak@17254 | 43 chown -R root:root $fs |
erjo@151 | 44 } |