wok view nano/receipt @ rev 6072

Add puzzles (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 24 10:04:50 2010 +0200 (2010-08-24)
parents bee79018e13a
children daecaab6c005
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.3"
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 }