wok-next annotate nano/receipt @ rev 3457

Fix libgphoto2 udev/hal/permissions
author Rohit Joshi <jozee@slitaz.org>
date Mon Jun 15 15:15:09 2009 +0000 (2009-06-15)
parents c4bc94f1fe55
children 82cd8e77939c
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="nano"
erjo@1392 4 VERSION="2.0.9"
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"
pascal@1439 9 BUILD_DEPENDS="ncurses-dev"
pankso@19 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@19 11 WEB_SITE="http://www.nano-editor.org/"
pankso@19 12 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
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 \
pascal@1439 20 --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@1439 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 }