# SliTaz package receipt. PACKAGE="mc" VERSION="4.7.5.6" CATEGORY="system-tools" SHORT_DESC="Midnight Commander - ncurses based file manager." MAINTAINER="erjo@slitaz.org" DEPENDS="ncursesw glib e2fsprogs pcre elfutils" SUGGESTED="gpm" BUILD_DEPENDS="pkg-config gpm-dev glib-dev ncursesw-dev" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://www.midnight-commander.org/" WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --with-gpm-mouse \ --with-screen=ncurses \ --infodir=/usr/share/info \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/locale $fs/usr/share/applications cp -a $_pkg/etc $fs/ cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/share/mc $fs/usr/share cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale cp stuff/mc.desktop $fs/usr/share/applications }