wok-next view nano/receipt @ rev 7034
Change my mail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 23:30:12 2010 +0100 (2010-10-31) |
parents | 2c74efb0b0f8 |
children | 172046663dc8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.5"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="ncursesw-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.2/$TARBALL"
13 TAGS="text-editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --enable-all \
25 --enable-extra \
26 --enable-utf8 \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/etc
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/nano $fs/usr/share
38 # Config file.
39 cp stuff/nanorc $fs/etc
40 }