wok-6.x annotate clex/receipt @ rev 1942

tazndis, don't modify system files in debug mode.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 27 22:17:15 2008 +0100 (2008-12-27)
parents eb7f93d231d6
children f7e96b8e3444
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="clex"
pankso@891 4 VERSION="3.18"
pankso@202 5 CATEGORY="system-tools"
pankso@7 6 SHORT_DESC="Text mode file manager."
pankso@7 7 MAINTAINER="pankso@slitaz.org"
pankso@7 8 DEPENDS="ncurses"
pankso@890 9 BUILD_DEPENDS="ncurses-dev"
pankso@7 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@7 11 WEB_SITE="http://www.clex.sk/"
pankso@7 12 WGET_URL="http://www.clex.sk/download/$TARBALL"
pankso@7 13
pankso@7 14 # Rules to configure and make the package.
pankso@7 15 compile_rules()
pankso@7 16 {
pankso@890 17 cd $src
pankso@890 18 ./configure \
pankso@890 19 --prefix=/usr \
pankso@890 20 --infodir=/usr/share/info \
pankso@890 21 --mandir=/usr/share/man \
pankso@890 22 $CONFIGURE_ARGS
pankso@890 23 make
pankso@890 24 make DESTDIR=$PWD/_pkg install
pankso@7 25 }
pankso@7 26
pankso@7 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 28 genpkg_rules()
pankso@7 29 {
pankso@890 30 mkdir -p $fs/etc $fs/usr/bin
pankso@7 31 cp -a $_pkg/usr/bin/* $fs/usr/bin
pankso@890 32 cp -a stuff/skel $fs/etc
pankso@7 33 }