wok-next view nano/receipt @ rev 15166

rhino: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 22:27:16 2013 +0000 (2013-08-15)
parents b932b8cd3cfa
children 5613d51e1fdf
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 LICENSE="GPL3"
9 WEB_SITE="http://www.nano-editor.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
15 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
16 VERSION_NOTE="latest stable"
18 DEPENDS="ncursesw"
19 SUGGESTED="gpm"
20 BUILD_DEPENDS="ncursesw-dev"
22 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --enable-utf8 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p \
40 $fs/etc \
41 $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/nano $fs/usr/share
44 # Config file.
45 cp $stuff/nanorc $fs/etc
46 }