wok-6.x view nano/receipt @ rev 1052
lostirc: copy skel into /etc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jul 13 12:58:55 2008 +0200 (2008-07-13) |
parents | 9cc179346e69 |
children | c4bc94f1fe55 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.0.7"
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 }