wok-6.x view nano/receipt @ rev 1392
Up: nano 2.0.9
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:54:59 2008 +0200 (2008-09-17) |
parents | eb4e6a1af180 |
children | 3e8ffa6ff731 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nano-editor.org/"
11 WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-all --enable-extra --prefix=/usr \
18 --infodir=/usr/share/info --mandir=/usr/share/man \
19 --sysconfdir=/etc $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/etc
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/nano $fs/usr/share
30 # Config file.
31 cp stuff/nanorc $fs/etc
32 }