wok-6.x annotate nano/receipt @ rev 514

Busybox: add conf file /etc/dnsd.conf and /etc/udhcpd.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 08 11:23:56 2008 +0000 (2008-04-08)
parents 9cc179346e69
children c4bc94f1fe55
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"
pankso@19 12
pankso@19 13 # Rules to configure and make the package.
pankso@19 14 compile_rules()
pankso@19 15 {
pankso@19 16 cd $src
pankso@19 17 ./configure --enable-all --enable-extra --prefix=/usr \
pankso@19 18 --infodir=/usr/share/info --mandir=/usr/share/man \
pankso@19 19 --sysconfdir=/etc $CONFIGURE_ARGS
pankso@19 20 make
pankso@19 21 make DESTDIR=$PWD/_pkg install
pankso@19 22 }
pankso@19 23
pankso@19 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 25 genpkg_rules()
pankso@19 26 {
pankso@237 27 mkdir -p $fs/usr/share $fs/etc
pankso@19 28 cp -a $_pkg/usr/bin $fs/usr
pankso@19 29 cp -a $_pkg/usr/share/nano $fs/usr/share
pankso@19 30 # Config file.
pankso@19 31 cp stuff/nanorc $fs/etc
pankso@19 32 }