wok view nano/receipt @ rev 10830

Up: tazusb (3.0) - Handle splitted rootfs, bunch of fixes, new style for doc
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 07 12:28:06 2011 +0200 (2011-06-07)
parents 172046663dc8
children 05a0ed0c2af0
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.6"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nano-editor.org/"
10 WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
11 TAGS="text-editor"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-all \
22 --enable-extra \
23 --enable-utf8 \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/nano $fs/usr/share
34 # Config file.
35 cp $stuff/nanorc $fs/etc
36 }