wok annotate nano/receipt @ rev 338

Busybox: fix patch patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 05 09:09:15 2008 +0000 (2008-03-05)
parents 219f2b20380f
children eb4e6a1af180
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="nano"
pankso@237 4 VERSION="2.0.7"
pankso@201 5 CATEGORY="utilities"
pankso@19 6 SHORT_DESC="GNU Nano Text Editor."
pankso@19 7 MAINTAINER="pankso@slitaz.org"
pankso@19 8 DEPENDS="ncurses"
pankso@19 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@19 10 WEB_SITE="http://www.nano-editor.org/"
pankso@19 11 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
pascal@153 12 JWM_MENU='Productivity:<Program icon="nano.png" label="Nano">xterm -bg black -fg white -cr lightgreen -e nano</Program>'
pankso@19 13
pankso@19 14 # Rules to configure and make the package.
pankso@19 15 compile_rules()
pankso@19 16 {
pankso@19 17 cd $src
pankso@19 18 ./configure --enable-all --enable-extra --prefix=/usr \
pankso@19 19 --infodir=/usr/share/info --mandir=/usr/share/man \
pankso@19 20 --sysconfdir=/etc $CONFIGURE_ARGS
pankso@19 21 make
pankso@19 22 make DESTDIR=$PWD/_pkg install
pankso@19 23 }
pankso@19 24
pankso@19 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 26 genpkg_rules()
pankso@19 27 {
pankso@237 28 mkdir -p $fs/usr/share $fs/etc
pankso@19 29 cp -a $_pkg/usr/bin $fs/usr
pankso@19 30 cp -a $_pkg/usr/share/nano $fs/usr/share
pankso@19 31 # Config file.
pankso@19 32 cp stuff/nanorc $fs/etc
pankso@19 33 }