wok-stable view nano/receipt @ rev 2636

Up: slitaz-base-files (change release string) + slitaz-doc for 2.0
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 19:59:30 2009 +0200 (2009-04-16)
parents c4bc94f1fe55
children 82cd8e77939c
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.0.9"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.nano-editor.org/"
12 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --enable-all --enable-extra --prefix=/usr \
19 --infodir=/usr/share/info --mandir=/usr/share/man \
20 --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/etc
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/nano $fs/usr/share
31 # Config file.
32 cp stuff/nanorc $fs/etc
33 }